iceconnectionstatechange event is sent to an
RTCPeerConnection object when the state of its ICE connection changes. The new ICE connection state is available in the object's
An event handler for this event can be added using the
RTCPeerConnection.oniceconnectionstatechange property or by using
addEventListener() on the
One common task performed by the
iceconnectionstatechange event listener: to trigger ICE restart when the state changes to
"failed". See ICE restart in Lifetime of a WebRTC session for further information.
This event implements the properties of
This event implements the methods of
|WebRTC 1.0: Real-time Communication Between Browsers |
The definition of 'iceconnectionstatechange' in that specification.
We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!
|Feature||Chrome||Edge||Firefox (Gecko)||Internet Explorer||Opera||Safari|
|Basic support||(Yes)||(Yes)||(Yes)||No support||(Yes)||?|
|Feature||Android||Chrome for Android||Edge||Firefox Mobile (Gecko)||IE Mobile||Opera Mobile||Safari Mobile|
|Basic support||?||?||(Yes)||?||No support||?||?|
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.