role property

RTCIceRole get role

The role read-only property of the RTCIceTransport interface indicates which role the transport is fulfilling: that of the controlling agent, or the agent that is being controlled.

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

Implementation

external RTCIceRole get role;