Member Junction
    Preparing search index...

    Places an avatar's frames against its voice's playout. One per avatar stream.

    Index

    Constructors

    Methods

    • The epoch a sample belongs to, from its track and stream time: the current generation, and a new segment whenever the track's time goes backwards.

      Parameters

      • kind: "video" | "audio"

        The sample's track.

      • time: number

        Its presentation time (s).

      Returns number

    • Records that a piece of the avatar's voice entered the voice queue: its stream time and length, and how much the queue had taken before it. Stale pieces are ignored (the caller does not queue them).

      Parameters

      • epoch: number

        The piece's epoch.

      • time: number

        Its stream time (s).

      • durationS: number

        Its length (s).

      • enqueuedMs: number

        The queue's total before it (ms).

      Returns void