Shaka Packager SDK
Protected Member Functions | List of all members
shaka::media::MediaHandlerTestBase Class Reference
Inheritance diagram for shaka::media::MediaHandlerTestBase:
shaka::media::MediaHandlerGraphTestBase

Protected Member Functions

bool IsVideoCodec (Codec codec) const
 
std::unique_ptr< StreamInfoGetVideoStreamInfo (int32_t time_scale) const
 
std::unique_ptr< StreamInfoGetVideoStreamInfo (int32_t time_scale, uint32_t width, uint32_t height) const
 
std::unique_ptr< StreamInfoGetVideoStreamInfo (int32_t time_scale, Codec codec) const
 
std::unique_ptr< StreamInfoGetVideoStreamInfo (int32_t time_scale, Codec codec, uint32_t width, uint32_t height) const
 
std::unique_ptr< StreamInfoGetAudioStreamInfo (int32_t time_scale) const
 
std::unique_ptr< StreamInfoGetAudioStreamInfo (int32_t time_scale, Codec codec) const
 
std::shared_ptr< MediaSampleGetMediaSample (int64_t timestamp, int64_t duration, bool is_keyframe) const
 
std::shared_ptr< MediaSampleGetMediaSample (int64_t timestamp, int64_t duration, bool is_keyframe, const uint8_t *data, size_t data_length) const
 
std::unique_ptr< SegmentInfoGetSegmentInfo (int64_t start_timestamp, int64_t duration, bool is_subsegment, int64_t segment_number) const
 
std::unique_ptr< StreamInfoGetTextStreamInfo (int32_t timescale) const
 
std::unique_ptr< TextSampleGetTextSample (const std::string &id, int64_t start, int64_t end, const std::string &payload) const
 
std::unique_ptr< CueEventGetCueEvent (double time_in_seconds) const
 
Status SetUpAndInitializeGraph (std::shared_ptr< MediaHandler > handler, size_t input_count, size_t output_count)
 
FakeInputMediaHandlerInput (size_t index)
 
MockOutputMediaHandlerOutput (size_t index)
 

Detailed Description

Definition at line 290 of file media_handler_test_base.h.


The documentation for this class was generated from the following files: