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

Public Member Functions

 MockAdaptationSet (uint32_t adaptation_set_id)
 
 MOCK_METHOD1 (AddRepresentation, Representation *(const MediaInfo &media_info))
 
 MOCK_METHOD2 (CopyRepresentationWithTimeOffset, Representation *(const Representation &representation, uint64_t presentation_time_offset))
 
 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(uint32_t adaptation_set_id))
 
 MOCK_METHOD1 (AddTrickPlayReferenceId, void(uint32_t id))
 
- Public Member Functions inherited from shaka::AdaptationSet
virtual RepresentationAddRepresentation (const MediaInfo &media_info)
 
virtual RepresentationCopyRepresentationWithTimeOffset (const Representation &representation, uint64_t presentation_time_offset)
 
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 (uint32_t adaptation_set_id)
 
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 AddTrickPlayReferenceId (uint32_t id)
 
const std::list< Representation * > GetRepresentations () 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 (uint32_t adaptation_set_id, const std::string &lang, const MpdOptions &mpd_options, base::AtomicSequenceNumber *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: