9 #ifndef PACKAGER_MEDIA_EVENT_MUXER_LISTENER_H_
10 #define PACKAGER_MEDIA_EVENT_MUXER_LISTENER_H_
17 #include <packager/macros/classes.h>
18 #include <packager/macros/compiler.h>
19 #include <packager/media/base/fourccs.h>
20 #include <packager/media/base/range.h>
26 struct ProtectionSystemSpecificInfo;
36 kContainerUnknown = 0,
41 kContainerPackedAudio,
79 bool is_initial_encryption_info,
80 FourCC protection_scheme,
81 const std::vector<uint8_t>& key_id,
82 const std::vector<uint8_t>& iv,
83 const std::vector<ProtectionSystemSpecificInfo>& key_system_info) = 0;
102 ContainerType container_type) = 0;
121 float duration_seconds) = 0;
140 uint64_t segment_file_size,
141 int64_t segment_number) = 0;
150 uint64_t segment_file_size) {
152 UNUSED(segment_file_size);
161 uint64_t start_byte_offset,
167 virtual void OnCueEvent(int64_t timestamp,
const std::string& cue_data) = 0;
All the methods that are virtual are virtual for mocking.