Share via


role property

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

The current role of the ICE transport.

This property is read-only.

Syntax

JavaScript
role = object.role

 

Property values

Type: RTCIceRole

Contains the current role of the ICE transport.

Value Condition
controlling

controlling state

controlled

controlled state

 

Standards information

See also

RTCIceTransport