1 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_MPEG1_HEADER_H_
2 #define PACKAGER_MEDIA_FORMATS_MP2T_MPEG1_HEADER_H_
8 #include "packager/media/formats/mp2t/audio_header.h"
24 bool IsSyncWord(
const uint8_t* buf)
const override;
27 bool Parse(
const uint8_t* mpeg1_frame,
size_t mpeg1_frame_size)
override;
31 size_t num_bytes)
const override;
44 uint8_t protection_absent_ = 0;
46 uint32_t bitrate_ = 0;
47 uint32_t sample_rate_ = 0;
49 uint8_t channel_mode_ = 0;
All the methods that are virtual are virtual for mocking.