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(
int stream_id, std::shared_ptr<MediaSample> sample)
override;
30 Status FinalizeSegment(
int stream_id,
31 std::shared_ptr<SegmentInfo> segment_info)
override;
33 void FireOnMediaStartEvent();
34 void FireOnMediaEndEvent();
36 std::unique_ptr<Segmenter> segmenter_;
45 #endif // MEDIA_FORMATS_WEBM_WEBM_MUXER_H_