RTCTransportStats: thuộc tính iceRole
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Thuộc tính iceRole của từ điển RTCTransportStats là một chuỗi chỉ ra vai trò ICE mà transport đang thực hiện: vai trò của tác nhân điều khiển, hoặc tác nhân bị điều khiển.
Nó có cùng giá trị với thuộc tính RTCIceTransport.role của RTCDtlsTransport.iceTransport bên dưới.
Giá trị
Một chuỗi sẽ là một trong các giá trị sau: controlled, controlling, hoặc unknown.
Thông số kỹ thuật
| Specification |
|---|
| Identifiers for WebRTC's Statistics API> # dom-rtctransportstats-icerole> |