7 #ifndef PACKAGER_HLS_BASE_HLS_NOTIFIER_H_
8 #define PACKAGER_HLS_BASE_HLS_NOTIFIER_H_
13 #include "packager/hls/public/hls_params.h"
14 #include "packager/mpd/base/media_info.pb.h"
27 virtual bool Init() = 0;
39 const std::string& playlist_name,
40 const std::string& stream_name,
41 const std::string& group_id,
42 uint32_t* stream_id) = 0;
51 uint32_t sample_duration) = 0;
62 const std::string& segment_name,
65 uint64_t start_byte_offset,
76 uint64_t start_byte_offset,
82 virtual bool NotifyCueEvent(uint32_t stream_id, uint64_t timestamp) = 0;
94 const std::vector<uint8_t>& key_id,
95 const std::vector<uint8_t>& system_id,
96 const std::vector<uint8_t>& iv,
97 const std::vector<uint8_t>& protection_system_specific_data) = 0;
101 virtual bool Flush() = 0;
113 #endif // PACKAGER_HLS_BASE_HLS_NOTIFIER_H_