Shaka Packager SDK
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_METHOD2 (NotifyCueEvent, bool(uint32_t container_id, uint64_t timestamp))
 
 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 (NotifyMediaInfoUpdate, bool(uint32_t container_id, const MediaInfo &media_info))
 
 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 NotifyCueEvent (uint32_t container_id, uint64_t timestamp)=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 NotifyMediaInfoUpdate (uint32_t container_id, const MediaInfo &media_info)=0
 
virtual bool Flush ()=0
 
bool include_mspr_pro () const
 
DashProfile dash_profile () const
 
MpdType mpd_type () const
 
bool use_segment_list () const
 

Detailed Description

Definition at line 19 of file mock_mpd_notifier.h.


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