Skip to main content

audio_specific_config_bytes

Function audio_specific_config_bytes 

Source
pub fn audio_specific_config_bytes(sample_rate: u32, channels: u16) -> Vec<u8> ⓘ
Expand description

The AudioSpecificConfig bytes for an AAC-LC stream — the MP4 esds DecoderSpecificInfo the muxer needs (2 bytes for standard rates).