7 #ifndef PACKAGER_MEDIA_FORMATS_MP4_MULTI_SEGMENT_SEGMENTER_H_
8 #define PACKAGER_MEDIA_FORMATS_MP4_MULTI_SEGMENT_SEGMENTER_H_
10 #include <packager/macros/classes.h>
11 #include <packager/media/formats/mp4/segmenter.h>
27 std::unique_ptr<FileType> ftyp,
28 std::unique_ptr<Movie> moov);
33 bool GetInitRange(
size_t* offset,
size_t* size)
override;
35 std::vector<Range> GetSegmentRanges()
override;
40 Status DoInitialize()
override;
41 Status DoFinalize()
override;
42 Status DoFinalizeSegment(int64_t segment_number)
override;
45 Status WriteInitSegment();
46 Status WriteSegment(int64_t segment_number);
48 std::unique_ptr<SegmentType> styp_;
All the methods that are virtual are virtual for mocking.