Skip to main content
Version: v1.41.0

StreamCongestionMode

Controls how the outbound video stream degrades under network or CPU congestion. Delegates internally to the RTCDegradationPreference https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSendParameters/degradationPreference

Enumeration Members​

BALANCED​

BALANCED: "balanced"

Balance framerate and resolution.


MAINTAIN_FRAMERATE​

MAINTAIN_FRAMERATE: "maintain-framerate"

Prefer keeping framerate, allow resolution to drop.


MAINTAIN_RESOLUTION​

MAINTAIN_RESOLUTION: "maintain-resolution"

Prefer keeping resolution, allow framerate to drop.