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, int32_t sample_duration))
 
 MOCK_METHOD5 (NotifyNewSegment, bool(uint32_t container_id, int64_t start_time, int64_t duration, uint64_t size, int64_t segment_number))
 
 MOCK_METHOD3 (NotifyCompletedSegment, bool(uint32_t container_id, int64_t duration, uint64_t size))
 
 MOCK_METHOD1 (NotifyAvailabilityTimeOffset, bool(uint32_t container_id))
 
 MOCK_METHOD1 (NotifySegmentDuration, bool(uint32_t container_id))
 
 MOCK_METHOD2 (NotifyCueEvent, bool(uint32_t container_id, int64_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 NotifyAvailabilityTimeOffset (uint32_t container_id)
 
virtual bool NotifySampleDuration (uint32_t container_id, int32_t sample_duration)=0
 
virtual bool NotifySegmentDuration (uint32_t container_id)
 
virtual bool NotifyNewSegment (uint32_t container_id, int64_t start_time, int64_t duration, uint64_t size, int64_t segment_number)=0
 
virtual bool NotifyCompletedSegment (uint32_t container_id, int64_t duration, uint64_t size)
 
virtual bool NotifyCueEvent (uint32_t container_id, int64_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 18 of file mock_mpd_notifier.h.


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