7 #ifndef PACKAGER_MEDIA_FORMATS_WEBM_WEBM_MUXER_H_
8 #define PACKAGER_MEDIA_FORMATS_WEBM_WEBM_MUXER_H_
10 #include <packager/macros/classes.h>
11 #include <packager/media/base/muxer.h>
28 Status InitializeMuxer()
override;
29 Status Finalize()
override;
30 Status AddMediaSample(
size_t stream_id,
const MediaSample& sample)
override;
31 Status FinalizeSegment(
size_t stream_id,
34 void FireOnMediaStartEvent();
35 void FireOnMediaEndEvent();
37 std::unique_ptr<Segmenter> segmenter_;
All the methods that are virtual are virtual for mocking.