大网数据广告活动
Web 标准与前端开发

RTCOutboundRtpStreamStats: scalabilityMode property

· 52CE 我爱测

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.

WebRTC

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

Browser compatibility

来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。

资料来源与适用范围

资料来源
MDN Web Docs / Mozilla 贡献者
适用范围
请按文中版本与环境说明核对
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 2.5

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。