Member Junction
    Preparing search index...

    What a video decoder needs.

    interface AvatarVideoDecoderOptions {
        Height: number;
        OnFailure: (reason: string) => void;
        OnFrame: (frame: AvatarVideoFrame) => void;
        Width: number;
    }
    Index

    Properties

    Height: number
    OnFailure: (reason: string) => void

    Called once when the decoder dies on its own.

    OnFrame: (frame: AvatarVideoFrame) => void

    Receives each frame that is not fenced off.

    Width: number

    The frame size the stream's init declares.