Member Junction
    Preparing search index...

    Function ReadFmp4Init

    • Reads the tracks an init segment declares. null when the piece holds no moov box, when a box's size runs past what holds it, or when a track lacks the tkhd or hdlr box that identifies it. A track whose sample entry this reader does not know is still listed, without a codec. Parameter sets and the AudioSpecificConfig are copied, so the result outlives the piece's buffer (which a caller may transfer to another thread).

      Parameters

      • bytes: ArrayBuffer | ArrayBufferView<ArrayBufferLike>

        The init segment (ftyp + moov), as an ArrayBuffer or a view of one.

      Returns Fmp4Init