fm.liveswitch.IceConnectionState Enum Reference

The state of an ICE gatherer. More...

Public Member Functions

 IceConnectionState (int value)
 
int getAssignedValue ()
 

Static Public Member Functions

 [static initializer]
 
static IceConnectionState getByAssignedValue (int value)
 

Public Attributes

 New =(1)
 Indicates that the ICE agent(s) is(are) gathering addresses or is(are) waiting to be given remote candidates (or both). More...
 
 Checking =(2)
 Indicates that the ICE agent(s) has(ve) been given one or more remote candidates and is(are) checking pairs of local and remote candidates against one another to try to find a compatible match, but has(ve) not yet found a pair which will allow the peer connection to be made. More...
 
 Connected =(3)
 Indicates that a usable pairing of local and remote candidates has been found for all components of the connection, and the connection has been established. More...
 
 Completed =(4)
 Indicates that the ICE agent has finished gathering candidates, has checked all pairs against one another, and has found a connection for all components. More...
 
 Failed =(5)
 Indicates that the ICE candidate has checked all candidates pairs against one another and has failed to find compatible matches for all components of the connection. More...
 
 Disconnected =(6)
 Indicates that checks to ensure that components are still connected failed for at least one component of the RTCPeerConnection. More...
 
 Closed =(7)
 The ICE agent(s) for this RTCPeerConnection has shut down and is no longer handling requests. More...
 

Detailed Description

The state of an ICE gatherer.

Constructor & Destructor Documentation

◆ IceConnectionState()

fm.liveswitch.IceConnectionState.IceConnectionState ( int  value)

Member Function Documentation

◆ [static initializer]()

fm.liveswitch.IceConnectionState.[static initializer]
static

◆ getAssignedValue()

int fm.liveswitch.IceConnectionState.getAssignedValue ( )

◆ getByAssignedValue()

static IceConnectionState fm.liveswitch.IceConnectionState.getByAssignedValue ( int  value)
static

Member Data Documentation

◆ Checking

fm.liveswitch.IceConnectionState.Checking =(2)

Indicates that the ICE agent(s) has(ve) been given one or more remote candidates and is(are) checking pairs of local and remote candidates against one another to try to find a compatible match, but has(ve) not yet found a pair which will allow the peer connection to be made.

It's possible that gathering of candidates is also still underway.

◆ Closed

fm.liveswitch.IceConnectionState.Closed =(7)

The ICE agent(s) for this RTCPeerConnection has shut down and is no longer handling requests.

◆ Completed

fm.liveswitch.IceConnectionState.Completed =(4)

Indicates that the ICE agent has finished gathering candidates, has checked all pairs against one another, and has found a connection for all components.

◆ Connected

fm.liveswitch.IceConnectionState.Connected =(3)

Indicates that a usable pairing of local and remote candidates has been found for all components of the connection, and the connection has been established.

It's possible that gathering is still underway, and it's also possible that the ICE agent is still checking candidates against one another looking for a better connection to use.

◆ Disconnected

fm.liveswitch.IceConnectionState.Disconnected =(6)

Indicates that checks to ensure that components are still connected failed for at least one component of the RTCPeerConnection.

This is a less stringent test than "failed" and may trigger intermittently and resolve just as spontaneously on less reliable networks, or during temporary disconnections. When the problem resolves, the connection may return to the "Connected" state.

◆ Failed

fm.liveswitch.IceConnectionState.Failed =(5)

Indicates that the ICE candidate has checked all candidates pairs against one another and has failed to find compatible matches for all components of the connection.

It is, however, possible that the ICE agent did find compatible connections for some components.

◆ New

fm.liveswitch.IceConnectionState.New =(1)

Indicates that the ICE agent(s) is(are) gathering addresses or is(are) waiting to be given remote candidates (or both).