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.
Properties
Section titled “Properties”pauseVideoInBackground?
Section titled “pauseVideoInBackground?”pauseVideoInBackground?: boolean;Defined in: client-sdk-js/src/room/options.ts:31
Pause video subscriptions when the browser tab is hidden.
Default Value
Section titled “Default Value”true
pixelDensity?
Section titled “pixelDensity?”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.
Default Value
Section titled “Default Value”1