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> |