iceGatheringState 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 iceGatheringState property describes the connections gathering state.

This property is read-only.

Syntax

JavaScript
state = object.iceGatheringState

 

Property values

Type: RTCIceGatheringState

Remarks

The RTCIceConnectionState enum (the type of the iceGatheringState property) has the following enumerations:

Member Description
"new" Any of the RTCIceTransports haven't started gathering candidates yet.
"gathering" Any of the RTCIceTransports are gathering candidates for connections.
"complete" All RTCIceTransports have completed gathering candidates.

 

See also

RTCPeerConnection