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

    Function parseSongIndex

    • Internal

      The fragments a sidx box lists (version 0 or 1, media references only), in file order, with the song-time interval of each in milliseconds. firstFragmentByte is where the first fragment starts — the byte after the index — which the box's first_offset is relative to.

      Parameters

      • box: Uint8Array
      • firstFragmentByte: number

      Returns Effect<readonly SongFragment[], ReelSongDownloadError>