7 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_ADTS_HEADER_H_
8 #define PACKAGER_MEDIA_FORMATS_MP2T_ADTS_HEADER_H_
13 #include <packager/media/formats/mp2t/audio_header.h>
28 bool IsSyncWord(
const uint8_t* buf)
const override;
31 bool Parse(
const uint8_t* adts_frame,
size_t adts_frame_size)
override;
35 size_t num_bytes)
const override;
46 uint8_t protection_absent_ = 0;
47 uint16_t frame_size_ = 0;
49 uint8_t sampling_frequency_index_ = 0;
50 uint8_t channel_configuration_ = 0;
All the methods that are virtual are virtual for mocking.