7 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_TS_WRITER_H_
8 #define PACKAGER_MEDIA_FORMATS_MP2T_TS_WRITER_H_
16 #include <packager/file.h>
17 #include <packager/file/file_closer.h>
18 #include <packager/media/base/buffer_writer.h>
19 #include <packager/media/formats/mp2t/continuity_counter.h>
27 class ProgramMapTableWriter;
33 explicit TsWriter(std::unique_ptr<ProgramMapTableWriter> pmt_writer);
56 bool encrypted_ =
false;
61 std::unique_ptr<ProgramMapTableWriter> pmt_writer_;
All the methods that are virtual are virtual for mocking.