DASH Media Packaging SDK
|
Public Member Functions | |
std::unique_ptr< StreamData > | GetStreamInfoStreamData (int stream_index, Codec codec, uint32_t time_scale) |
Return a stream data with mock stream info. | |
std::unique_ptr< StreamData > | GetVideoStreamInfoStreamData (int stream_index, uint32_t time_scale) |
Return a stream data with mock video stream info. | |
std::unique_ptr< StreamData > | GetAudioStreamInfoStreamData (int stream_index, uint32_t time_scale) |
Return a stream data with mock audio stream info. | |
std::unique_ptr< StreamData > | GetMediaSampleStreamData (int stream_index, int64_t timestamp, int64_t duration, bool is_keyframe) |
Return a stream data with mock media sample. | |
void | SetUpGraph (int num_inputs, int num_outputs, std::shared_ptr< MediaHandler > handler) |
Setup a graph using |handler| with |num_inputs| and |num_outputs|. | |
const std::vector < std::unique_ptr< StreamData > > & | GetOutputStreamDataVector () const |
Return the output stream data vector from handler. | |
void | ClearOutputStreamDataVector () |
Clear the output stream data vector. | |
std::shared_ptr< MediaHandler > | some_handler () |
Definition at line 39 of file media_handler_test_base.h.
|
inline |
Definition at line 81 of file media_handler_test_base.h.