Back to Content

RTCTransportStats: iceRole property

files/en-us/web/api/rtctransportstats/icerole/index.md

latest584 B
Original Source

{{APIRef("WebRTC")}}{{SeeCompatTable}}

The iceRole property of the {{domxref("RTCTransportStats")}} dictionary is a string that indicates the ICE role that the transport is fulfilling: that of the controlling agent, or the agent that is being controlled.

This has the same value as the {{domxref("RTCIceTransport.role")}} property of the underlying {{domxref("RTCDtlsTransport.iceTransport")}}.

Value

A string that will be one of the following values: controlled, controlling, or unknown.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}