Shaka Packager SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
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))
 
- 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)
 
xml::scoped_xml_ptr< xmlNode > GetXml ()
 
void SuppressOnce (SuppressFlag flag)
 
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)
 

Detailed Description

Definition at line 48 of file mock_mpd_builder.h.


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