Firefox Tomorrow

web api instance property

RTCOutboundRtpStreamStats: scalabilityMode property

View on MDN ↗

Limited availability

The scalabilityMode property of the RTCOutboundRtpStreamStats dictionary represents the scalability mode for the RTP stream, if one has been configured. If not configured, the property is undefined.

The mode is used in Scalable Video Coding (SVC) to define how define how a video stream may be encoded to allow for adaptation to different network conditions and receiver capabilities. Different codecs allow for various kinds of scalability, such as providing different resolution, different frame rates, or different quality levels for a particular video.

The mode may be configured, for example, by specifying the scalability mode as a parameter option in configure(), setParameters(), or addTransceiver().

[!NOTE] The property is undefined for audio streams.

Value

A string indicating the configured scalability mode, such as “L1T1”. If no mode has been configured, the property is undefined.

The set of allowed modes are defined in Scalable Video Coding (SVC) Extension for WebRTC (w3c.github.io/webrtc-svc).

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.