RTCIceCandidate: tcpType 属性
RTCIceCandidate 接口的只读属性 tcpType 包含在 TCP 候选者中,以提供有关候选者类型的附加信息。
tcpType 字段的值是从传递给 RTCIceCandidate() 构造函数的 candidateInfo 选项对象设置的。您不能直接在选项对象中指定 tcpType 的值,但如果对象的 candidate a-line 格式正确,它的值会自动从中提取。
RTCIceCandidate 接口的只读属性 tcpType 包含在 TCP 候选者中,以提供有关候选者类型的附加信息。
tcpType 字段的值是从传递给 RTCIceCandidate() 构造函数的 candidateInfo 选项对象设置的。您不能直接在选项对象中指定 tcpType 的值,但如果对象的 candidate a-line 格式正确,它的值会自动从中提取。