LiveKit JS Client SDK - v2.11.1

    Type Alias AdaptiveStreamSettings

    type AdaptiveStreamSettings = {
        pauseVideoInBackground?: boolean;
        pixelDensity?: number | "screen";
    }
    Index

    Properties

    pauseVideoInBackground?: boolean

    If true, video gets paused when switching to another tab. Defaults to true.

    pixelDensity?: number | "screen"

    Set a custom pixel density. Defaults to 2 for high density screens (3+) or 1 otherwise. When streaming videos on a ultra high definition screen this setting let's you account for the devicePixelRatio of those screens. Set it to screen to use the actual pixel density of the screen Note: this might significantly increase the bandwidth consumed by people streaming on high definition screens.

    MMNEPVFCICPMFPCPTTAAATR