Shaka Packager SDK
|
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 Representation * | AddRepresentation (const MediaInfo &media_info) |
virtual Representation * | CopyRepresentation (const Representation &representation) |
virtual void | AddContentProtectionElement (const ContentProtectionElement &element) |
virtual void | UpdateContentProtectionPssh (const std::string &drm_uuid, const std::string &pssh) |
virtual void | AddAccessibility (const std::string &scheme, const std::string &value) |
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 { kRoleUnknown, 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) | |
Definition at line 44 of file mock_mpd_builder.h.