7 #ifndef MEDIA_FORMATS_MP4_MP4_MUXER_H_
8 #define MEDIA_FORMATS_MP4_MP4_MUXER_H_
12 #include "packager/media/base/muxer.h"
17 class AudioStreamInfo;
19 class VideoStreamInfo;
25 struct ProtectionSchemeInfo;
38 Status Initialize()
override;
39 Status Finalize()
override;
41 scoped_refptr<MediaSample> sample)
override;
54 bool GetInitRangeStartAndEnd(uint32_t* start, uint32_t* end);
58 bool GetIndexRangeStartAndEnd(uint32_t* start, uint32_t* end);
61 void FireOnMediaStartEvent();
62 void FireOnMediaEndEvent();
65 uint64_t IsoTimeNow();
67 std::unique_ptr<Segmenter> segmenter_;
76 #endif // MEDIA_FORMATS_MP4_MP4_MUXER_H_