WebRTC API's RTCIceTcpCandidateType enumerated type provides a set of DOMString values representing the types of TCP candidates.

"active"

The transport will try to open an outbound connection but won't receive inoming connection requests.

"passive"

The transport will receive incoming connection requests but won't try to open an outbound connection.

"so"

The transport will try to open a connection simultaneously with its peer.

用法注意事项

RTCIceTcpCandidateType type is used by the tcpType property of RTCIceCandidate 对象。

规范

规范 状态 注释
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCIceTcpCandidateType' in that specification.
候选推荐 初始定义。

浏览器兼容性

The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.

No compatibility data found. Please contribute data for "api.RTCIceTcpCandidateType" (depth: 1) to the MDN 兼容性数据存储库 .

元数据

  • 最后修改: