Shaka Packager SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | List of all members
shaka::MockMpdNotifier Class Reference
Inheritance diagram for shaka::MockMpdNotifier:
shaka::MpdNotifier

Public Member Functions

 MockMpdNotifier (const MpdOptions &mpd_options)
 
 MOCK_METHOD0 (Init, bool())
 
 MOCK_METHOD2 (NotifyNewContainer, bool(const MediaInfo &media_info, uint32_t *container_id))
 
 MOCK_METHOD2 (NotifySampleDuration, bool(uint32_t container_id, uint32_t sample_duration))
 
 MOCK_METHOD4 (NotifyNewSegment, bool(uint32_t container_id, uint64_t start_time, uint64_t duration, uint64_t size))
 
 MOCK_METHOD4 (NotifyEncryptionUpdate, bool(uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh))
 
 MOCK_METHOD2 (AddContentProtectionElement, bool(uint32_t container_id, const ContentProtectionElement &content_protection_element))
 
 MOCK_METHOD0 (Flush, bool())
 
- Public Member Functions inherited from shaka::MpdNotifier
 MpdNotifier (const MpdOptions &mpd_options)
 
virtual bool Init ()=0
 
virtual bool NotifyNewContainer (const MediaInfo &media_info, uint32_t *container_id)=0
 
virtual bool NotifySampleDuration (uint32_t container_id, uint32_t sample_duration)=0
 
virtual bool NotifyNewSegment (uint32_t container_id, uint64_t start_time, uint64_t duration, uint64_t size)=0
 
virtual bool NotifyEncryptionUpdate (uint32_t container_id, const std::string &drm_uuid, const std::vector< uint8_t > &new_key_id, const std::vector< uint8_t > &new_pssh)=0
 
virtual bool AddContentProtectionElement (uint32_t container_id, const ContentProtectionElement &content_protection_element)=0
 
virtual bool Flush ()=0
 
DashProfile dash_profile () const
 
MpdType mpd_type () const
 

Detailed Description

Definition at line 19 of file mock_mpd_notifier.h.


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