igpapi — Instagram private API Simulator for Node.js (API reference) 4.18.2
    Preparing search index...

    Function audioConfigOf

    • The AAC config and the channel and rate facts of an mp4a sample entry, read from its esds: an ES_Descriptor (tag 0x03) holds the DecoderConfigDescriptor (0x04, 13 bytes of stream facts) which holds the AudioSpecificConfig (0x05). The ES_Descriptor's three optional fields (a stream it depends on, a URL, an OCR stream) come first and are skipped by their flags.

      Parameters

      • entry: Uint8Array

      Returns
          | {
              audioSpecificConfig: Uint8Array;
              channels: number;
              sampleRate: number;
          }
          | undefined