Re: Issue 164: IceGatherer States

WebRTC 1.0 has RTCIceGatheringState (see http://w3c.github.io/webrtc-pc/#rtcicegatheringstate-enum):

enum RTCIceGatheringState {
"new",
"gathering",
"complete"
};

new:  The object was just created, and no networking has occurred yet.

gathering:  The ICE engine is in the process of gathering candidates for this RTCPeerConnection.

complete: The ICE engine has completed gathering. Events such as adding a new interface or a new TURN server will cause the state to go back to gathering.

For backward compatibility, I would propose the following for RTCIceGatherer.RTCIceGathererState:

enum RTCIceGathererState {
"new",
"gathering",
"complete",
"sleeping"
};

new
The object was just created, and no gathering has occurred yet.

gathering
The RTCIceGatherer is in the process of gathering candidates.

complete
The RTCIceGatherer has completed gathering. Events such as adding a new interface or a new TURN server will cause the state to go back to gathering.

sleeping
ICE connectivity checks have been completed, and non-nominated candidate pairs have been pruned. Events such as adding a new interface or a new TURN server will cause the state to go back to gathering.

Received on Monday, 5 January 2015 17:43:27 UTC