7#ifndef PACKAGER_MEDIA_FORMATS_MP2T_TS_WRITER_H_
8#define PACKAGER_MEDIA_FORMATS_MP2T_TS_WRITER_H_
12#include <packager/media/base/buffer_writer.h>
13#include <packager/media/formats/mp2t/continuity_counter.h>
20class ProgramMapTableWriter;
26 explicit TsWriter(std::unique_ptr<ProgramMapTableWriter> pmt_writer);
42 virtual bool AddPesPacket(std::unique_ptr<PesPacket> pes_packet,
50 bool encrypted_ =
false;
55 std::unique_ptr<ProgramMapTableWriter> pmt_writer_;
All the methods that are virtual are virtual for mocking.