|
void | SetUpGraph (size_t num_inputs, size_t 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 |
|
void | ClearOutputStreamDataVector () |
| Clear the output stream data vector.
|
|
std::shared_ptr< MediaHandler > | some_handler () |
|
std::shared_ptr< FakeMediaHandler > | next_handler () |
|
Protected Member Functions inherited from shaka::media::MediaHandlerTestBase |
bool | IsVideoCodec (Codec codec) const |
|
std::unique_ptr< StreamInfo > | GetVideoStreamInfo (uint32_t time_scale) const |
|
std::unique_ptr< StreamInfo > | GetVideoStreamInfo (uint32_t time_scale, uint32_t width, uint64_t height) const |
|
std::unique_ptr< StreamInfo > | GetVideoStreamInfo (uint32_t time_scale, Codec codec) const |
|
std::unique_ptr< StreamInfo > | GetVideoStreamInfo (uint32_t time_scale, Codec codec, uint32_t width, uint64_t height) const |
|
std::unique_ptr< StreamInfo > | GetAudioStreamInfo (uint32_t time_scale) const |
|
std::unique_ptr< StreamInfo > | GetAudioStreamInfo (uint32_t time_scale, Codec codec) const |
|
std::shared_ptr< MediaSample > | GetMediaSample (int64_t timestamp, int64_t duration, bool is_keyframe) const |
|
std::shared_ptr< MediaSample > | GetMediaSample (int64_t timestamp, int64_t duration, bool is_keyframe, const uint8_t *data, size_t data_length) const |
|
std::unique_ptr< SegmentInfo > | GetSegmentInfo (int64_t start_timestamp, int64_t duration, bool is_subsegment) const |
|
std::unique_ptr< StreamInfo > | GetTextStreamInfo () const |
|
std::unique_ptr< TextSample > | GetTextSample (const std::string &id, uint64_t start, uint64_t end, const std::string &payload) const |
|
Status | SetUpAndInitializeGraph (std::shared_ptr< MediaHandler > handler, size_t input_count, size_t output_count) |
|
FakeInputMediaHandler * | Input (size_t index) |
|
MockOutputMediaHandler * | Output (size_t index) |
|
Definition at line 197 of file media_handler_test_base.h.