An icecandidate event is fired when an RTCIceCandidate has been added to the target, which is an RTCPeerConnection.
This happens (would be a few events) usually after local called RTCPeerConnection.setLocalDescription()
An event handler for this event can be added by setting the RTCPeerConnection.onicecandidate property.
General info
- Specification
- WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'icecandidate' in that specification. - Interface
RTCPeerConnectionIceEvent- Bubbles
- No
- Cancelable
- No
- Target
RTCPeerConnection- Default Action
- None
Properties
This event implements the properties of RTCPeerConnectionIceEvent.
Methods
This event implements the methods of RTCPeerConnectionIceEvent.
Related Events
- none
Specifications
| Specification | Status | Comment |
|---|---|---|
| WebRTC 1.0: Real-time Communication Between Browsers The definition of 'icecandidate' in that specification. |
Candidate Recommendation |
Browser compatibility
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 | ? | ? |