Member Junction
    Preparing search index...

    Function Fmp4AudioSeconds

    • The seconds of audio a piece of the stream carries, as Fmp4VideoSeconds counts video: its samples' durations on the init's audio track. An avatar's audio track is its voice, so this is how long the piece speaks. null when the init declares no audio track with a timescale, or the piece cannot be read.

      Parameters

      • bytes: ArrayBuffer | ArrayBufferView<ArrayBufferLike>

        A piece of the stream, as an ArrayBuffer or a view of one.

      • init: Fmp4Init

        What the stream's init segment declares (ReadFmp4Init).

      Returns number