1 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_MPEG1_HEADER_H_
2 #define PACKAGER_MEDIA_FORMATS_MP2T_MPEG1_HEADER_H_
7 #include <packager/media/formats/mp2t/audio_header.h>
23 bool IsSyncWord(
const uint8_t* buf)
const override;
26 bool Parse(
const uint8_t* mpeg1_frame,
size_t mpeg1_frame_size)
override;
30 size_t num_bytes)
const override;
43 uint8_t protection_absent_ = 0;
45 uint32_t bitrate_ = 0;
46 uint32_t sample_rate_ = 0;
48 uint8_t channel_mode_ = 0;
All the methods that are virtual are virtual for mocking.