Member Junction
    Preparing search index...

    Plays one kind of frame into a <video> element. The player creates one at a time and moves it between elements.

    interface IVideoFrameDecoder {
        FramesAhead: number;
        IsPlaying: boolean;
        Append(frame: RealtimeVideoFrame): void;
        Attach(element: HTMLVideoElement): void;
        Detach(): void;
        Dispose(): void;
        EndOfTurn(): void;
        Flush(): void;
    }
    Index

    Properties

    FramesAhead: number

    How many of the frames it took are still to play: waiting, being decoded or appended, or buffered ahead of the playhead. A frame it dropped (a barge-in's flush, an overflow, a decode error) or played past is not counted.

    IsPlaying: boolean

    Whether the decoder's own audio is audibly playing (an MP4 that carries the voice); false for decoders without audio.

    Methods