7 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_TS_MUXER_H_ 8 #define PACKAGER_MEDIA_FORMATS_MP2T_TS_MUXER_H_ 10 #include "packager/base/macros.h" 11 #include "packager/media/base/muxer.h" 12 #include "packager/media/formats/mp2t/ts_segmenter.h" 27 Status InitializeMuxer()
override;
28 Status Finalize()
override;
29 Status AddSample(
size_t stream_id,
31 Status FinalizeSegment(
size_t stream_id,
34 void FireOnMediaStartEvent();
35 void FireOnMediaEndEvent();
37 std::unique_ptr<TsSegmenter> segmenter_;
39 DISALLOW_COPY_AND_ASSIGN(
TsMuxer);
46 #endif // PACKAGER_MEDIA_FORMATS_MP2T_TS_MUXER_H_
All the methods that are virtual are virtual for mocking.