Member Junction
    Preparing search index...

    Function AdtsHeader

    • The 7-byte ADTS header (no CRC) that lets a decoder read one raw AAC frame from a stream. null for a configuration ADTS cannot describe (an object type above 4, a written-out sample rate, a channel configuration outside 1 to 7) or a frame too large for its 13-bit length.

      Parameters

      • aac: Fmp4AacConfig

        The track's AudioSpecificConfig, read.

      • payloadBytes: number

        The raw AAC frame's size in bytes.

      Returns Uint8Array<ArrayBufferLike>