RTCOutboundRtpStreamStats: scalabilityMode property

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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 VideoEncoder.configure(), RTCRtpSender.setParameters(), or RTCPeerConnection.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

Specification
Identifiers for WebRTC's Statistics API
# dom-rtcoutboundrtpstreamstats-scalabilitymode

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
scalabilityMode in 'outbound-rtp' stats
Experimental

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
Experimental. Expect behavior to change in the future.