RTCTransportStats:iceRole 属性
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
RTCTransportStats 字典的 iceRole 属性是指示传输所承担的 ICE 角色(控制端代理的角色,或被控制端代理的角色)的字符串。
该值与底层 RTCDtlsTransport.iceTransport 的 RTCIceTransport.role 属性相同。
值
字符串,其值可以是以下值之一:controlled、controlling 或 unknown。
规范
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtctransportstats-icerole> |