此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in English Always switch to English

RTCSctpTransport:maxChannels 属性

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2023年5月.

RTCSctpTransport 接口的 maxChannels 只读属性表示可同时打开的 RTCDataChannel 对象的最大数量。

表示可同时打开的 RTCDataChannel 对象的最大数量的整数值,或者,在 SCTP 传输进入“connected”状态前为 null

规范

Specification
WebRTC: Real-Time Communication in Browsers
# dom-rtcsctptransport-maxchannels

浏览器兼容性