W3cubDocs

/Web APIs

RTCIceRole

The RTCIceRole enumerated type lists the string values that identify whether a connection's ICE agent is serving as the controlling agent or the controlled agent, as indicated by RTCIceTransport.role.

You can learn more about ICE roles in Choosing a candidate pair in WebRTC connectivity.

Values

"controlling"

The RTCIceTransport object is serving as the controlling agent.

"controlled"

The transport is the controlled agent.

Specifications

No specification found

No specification data found for api.RTCIceRole.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.

Browser compatibility

No compatibility data found for api.RTCIceRole.
Check for problems with this page or contribute missing data to mdn/browser-compat-data.

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCIceRole