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

Public Member Functions

 MOCK_METHOD1 (AddRepresentation, Representation *(const MediaInfo &media_info))
 
 MOCK_METHOD1 (CopyRepresentation, Representation *(const Representation &representation))
 
 MOCK_METHOD1 (AddContentProtectionElement, void(const ContentProtectionElement &element))
 
 MOCK_METHOD2 (UpdateContentProtectionPssh, void(const std::string &drm_uuid, const std::string &pssh))
 
 MOCK_METHOD1 (AddRole, void(AdaptationSet::Role role))
 
 MOCK_METHOD1 (ForceSetSegmentAlignment, void(bool segment_alignment))
 
 MOCK_METHOD1 (AddAdaptationSetSwitching, void(const AdaptationSet *adaptation_set))
 
 MOCK_METHOD1 (AddTrickPlayReference, void(const AdaptationSet *adaptation_set))
 
- Public Member Functions inherited from shaka::AdaptationSet
virtual RepresentationAddRepresentation (const MediaInfo &media_info)
 
virtual RepresentationCopyRepresentation (const Representation &representation)
 
virtual void AddContentProtectionElement (const ContentProtectionElement &element)
 
virtual void UpdateContentProtectionPssh (const std::string &drm_uuid, const std::string &pssh)
 
virtual void AddRole (Role role)
 
xml::scoped_xml_ptr< xmlNode > GetXml ()
 
virtual void ForceSetSegmentAlignment (bool segment_alignment)
 
virtual void AddAdaptationSetSwitching (const AdaptationSet *adaptation_set)
 
bool has_id () const
 
uint32_t id () const
 
void set_id (uint32_t id)
 
void OnNewSegmentForRepresentation (uint32_t representation_id, uint64_t start_time, uint64_t duration)
 
void OnSetFrameRateForRepresentation (uint32_t representation_id, uint32_t frame_duration, uint32_t timescale)
 
virtual void AddTrickPlayReference (const AdaptationSet *adaptation_set)
 
const std::list< Representation * > GetRepresentations () const
 
bool IsVideo () const
 

Additional Inherited Members

- Public Types inherited from shaka::AdaptationSet
enum  Role {
  kRoleCaption, kRoleSubtitle, kRoleMain, kRoleAlternate,
  kRoleSupplementary, kRoleCommentary, kRoleDub
}
 
- Protected Member Functions inherited from shaka::AdaptationSet
 AdaptationSet (const std::string &language, const MpdOptions &mpd_options, uint32_t *representation_counter)
 

Detailed Description

Definition at line 44 of file mock_mpd_builder.h.


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