5 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PMT_H_
6 #define PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PMT_H_
11 #include <packager/macros/classes.h>
12 #include <packager/media/formats/mp2t/ts_audio_type.h>
13 #include <packager/media/formats/mp2t/ts_section_psi.h>
14 #include <packager/media/formats/mp2t/ts_stream_type.h>
29 typedef std::function<void(
int,
38 explicit TsSectionPmt(
const RegisterPesCb& register_pes_cb);
42 bool ParsePsiSection(
BitReader* bit_reader)
override;
43 void ResetPsiSection()
override;
46 RegisterPesCb register_pes_cb_;
All the methods that are virtual are virtual for mocking.