|
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< CachingMediaHandler > | 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 (uint32_t timescale) const |
|
std::unique_ptr< TextSample > | GetTextSample (const std::string &id, int64_t start, int64_t end, const std::string &payload) const |
|
std::unique_ptr< CueEvent > | GetCueEvent (double time_in_seconds) 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 360 of file media_handler_test_base.h.