DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
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_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 (AddTrickPlayReferenceId, void(uint32_t id))
 
- Public Member Functions inherited from shaka::AdaptationSet
virtual RepresentationAddRepresentation (const MediaInfo &media_info)
 
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)
 
void AddAdaptationSetSwitching (uint32_t adaptation_set_id)
 
const std::vector< uint32_t > & adaptation_set_switching_ids () const
 
uint32_t id () const
 
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)
 

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 28 of file mock_mpd_builder.h.


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