7 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_ADTS_HEADER_H_
8 #define PACKAGER_MEDIA_FORMATS_MP2T_ADTS_HEADER_H_
14 #include "packager/media/formats/mp2t/audio_header.h"
29 bool IsSyncWord(
const uint8_t* buf)
const override;
32 bool Parse(
const uint8_t* adts_frame,
size_t adts_frame_size)
override;
36 size_t num_bytes)
const override;
47 uint8_t protection_absent_ = 0;
48 uint16_t frame_size_ = 0;
50 uint8_t sampling_frequency_index_ = 0;
51 uint8_t channel_configuration_ = 0;
58 #endif // PACKAGER_MEDIA_FORMATS_MP2T_ADTS_HEADER_H_