Member Junction
    Preparing search index...

    How a watcher asks for one sampled frame to be encoded.

    interface RoomVideoFrameEncodeOptions {
        I420Type: number;
        MaxDimension: number;
        Quality: number;
        RotationDegrees: VideoRotationDegrees;
    }

    Hierarchy (View Summary)

    Index

    Properties

    I420Type: number

    The SDK's VideoBufferType.I420 value: a frame in another buffer type is converted to it first, on the caller's thread.

    MaxDimension: number

    Cap on the encoded image's longer side, in pixels. The image is never enlarged.

    Quality: number

    JPEG quality, 1-100 (clamped).

    RotationDegrees: VideoRotationDegrees

    Clockwise rotation the frame needs for upright display (WebRTC's convention).