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