Skip to content

AdaptiveStreamSettings

Defined in: client-sdk-js/src/room/options.ts:17

Configuration for the adaptive stream feature. When enabled the SDK automatically manages video subscription quality based on element visibility and dimensions.

pauseVideoInBackground?: boolean;

Defined in: client-sdk-js/src/room/options.ts:31

Pause video subscriptions when the browser tab is hidden.

true


pixelDensity?: number | "screen";

Defined in: client-sdk-js/src/room/options.ts:24

Pixel density to use when computing the required video resolution. Set to 'screen' to use window.devicePixelRatio.

1