Shaka Packager SDK
|
Buffer callback params. More...
#include <buffer_callback_params.h>
Public Attributes | |
std::function< int64_t(const std::string &name, void *buffer, uint64_t size)> | read_func |
std::function< int64_t(const std::string &name, const void *buffer, uint64_t size)> | write_func |
Buffer callback params.
Definition at line 15 of file buffer_callback_params.h.
std::function<int64_t(const std::string& name, void* buffer, uint64_t size)> shaka::BufferCallbackParams::read_func |
If this function is specified, packager treats StreamDescriptor.input as a label and call this function with name set to StreamDescriptor.input.
Definition at line 20 of file buffer_callback_params.h.
std::function< int64_t(const std::string& name, const void* buffer, uint64_t size)> shaka::BufferCallbackParams::write_func |
If this function is specified, packager treats the output files specified in PackagingParams and StreamDescriptors as labels and calls this function with name set. This applies to PackagingParams.MpdParams.mpd_output, PackagingParams.HlsParams.master_playlist_output, StreamDescriptor.output, StreamDescriptor.segment_template, StreamDescriptor.hls_playlist_name.
Definition at line 30 of file buffer_callback_params.h.