DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | List of all members
shaka::media::MediaHandlerTestBase Class Reference
Inheritance diagram for shaka::media::MediaHandlerTestBase:

Public Member Functions

std::unique_ptr< StreamDataGetStreamInfoStreamData (int stream_index, Codec codec, uint32_t time_scale)
 Return a stream data with mock stream info.
 
std::unique_ptr< StreamDataGetVideoStreamInfoStreamData (int stream_index, uint32_t time_scale)
 Return a stream data with mock video stream info.
 
std::unique_ptr< StreamDataGetAudioStreamInfoStreamData (int stream_index, uint32_t time_scale)
 Return a stream data with mock audio stream info.
 
std::unique_ptr< StreamDataGetMediaSampleStreamData (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< MediaHandlersome_handler ()
 

Detailed Description

Definition at line 39 of file media_handler_test_base.h.

Member Function Documentation

std::shared_ptr<MediaHandler> shaka::media::MediaHandlerTestBase::some_handler ( )
inline
Returns
some random handler that can be used for testing.

Definition at line 81 of file media_handler_test_base.h.


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