Shaka Packager SDK
Public Member Functions | List of all members
shaka::MockRepresentation Class Reference
Inheritance diagram for shaka::MockRepresentation:
shaka::Representation

Public Member Functions

 MockRepresentation (uint32_t representation_id)
 
 MOCK_METHOD1 (AddContentProtectionElement, void(const ContentProtectionElement &element))
 
 MOCK_METHOD2 (UpdateContentProtectionPssh, void(const std::string &drm_uuid, const std::string &pssh))
 
 MOCK_METHOD3 (AddNewSegment, void(uint64_t start_time, uint64_t duration, uint64_t size))
 
 MOCK_METHOD1 (SetSampleDuration, void(uint32_t sample_duration))
 
 MOCK_CONST_METHOD0 (GetMediaInfo, const MediaInfo &())
 
- Public Member Functions inherited from shaka::Representation
bool Init ()
 
virtual void AddContentProtectionElement (const ContentProtectionElement &element)
 
virtual void UpdateContentProtectionPssh (const std::string &drm_uuid, const std::string &pssh)
 
virtual void AddNewSegment (uint64_t start_time, uint64_t duration, uint64_t size)
 
virtual void SetSampleDuration (uint32_t sample_duration)
 
virtual const MediaInfo & GetMediaInfo () const
 
xml::scoped_xml_ptr< xmlNode > GetXml ()
 
void SuppressOnce (SuppressFlag flag)
 
bool GetEarliestTimestamp (double *timestamp_seconds) const
 
float GetDurationSeconds () const
 
uint32_t id () const
 

Additional Inherited Members

- Public Types inherited from shaka::Representation
enum  SuppressFlag { kSuppressWidth = 1, kSuppressHeight = 2, kSuppressFrameRate = 4 }
 
- Protected Member Functions inherited from shaka::Representation
 Representation (const MediaInfo &media_info, const MpdOptions &mpd_options, uint32_t representation_id, std::unique_ptr< RepresentationStateChangeListener > state_change_listener)
 
 Representation (const Representation &representation, uint64_t presentation_time_offset, std::unique_ptr< RepresentationStateChangeListener > state_change_listener)
 

Detailed Description

Definition at line 68 of file mock_mpd_builder.h.


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