7 #ifndef MEDIA_FORMATS_WEBM_WEBM_MUXER_H_
8 #define MEDIA_FORMATS_WEBM_WEBM_MUXER_H_
10 #include "packager/media/base/muxer.h"
27 Status InitializeMuxer()
override;
28 Status Finalize()
override;
29 Status AddSample(
size_t stream_id,
30 std::shared_ptr<MediaSample> sample)
override;
31 Status FinalizeSegment(
size_t stream_id,
32 std::shared_ptr<SegmentInfo> segment_info)
override;
34 void FireOnMediaStartEvent();
35 void FireOnMediaEndEvent();
37 std::unique_ptr<Segmenter> segmenter_;
46 #endif // MEDIA_FORMATS_WEBM_WEBM_MUXER_H_