7 #ifndef PACKAGER_MEDIA_FORMATS_WEBM_MULTI_SEGMENT_SEGMENTER_H_
8 #define PACKAGER_MEDIA_FORMATS_WEBM_MULTI_SEGMENT_SEGMENTER_H_
12 #include <packager/macros/classes.h>
13 #include <packager/media/formats/webm/mkv_writer.h>
14 #include <packager/media/formats/webm/segmenter.h>
15 #include <packager/status.h>
34 int64_t duration_timestamp,
36 int64_t segment_number)
override;
39 std::vector<Range> GetSegmentRanges()
override;
44 Status DoInitialize()
override;
45 Status DoFinalize()
override;
49 Status NewSegment(int64_t start_timestamp,
bool is_subsegment)
override;
51 std::unique_ptr<MkvWriter> writer_;
52 uint32_t num_segment_;
53 std::string temp_file_name_;
All the methods that are virtual are virtual for mocking.