Search completed in 0.91 seconds.
8 results for "icecandidateerror":
RTCPeerConnection: icecandidateerror event - Web APIs
WebAPIRTCPeerConnectionicecandidateerror event
the webrtc api event icecandidateerror is sent to an rtcpeerconnection if an error occurs while performing ice negotiations through a stun or turn server.
... bubbles no cancelable no interface rtcpeerconnectioniceerrorevent event handler property rtcpeerconnection.onicecandidateerror description the error object's errorcode property is one of the numeric stun error codes.
... example the following example establishes a handler for icecandidateerrors that occur on the rtcpeerconnection pc.
...And 2 more matches
RTCPeerConnection.onicecandidateerror - Web APIs
WebAPIRTCPeerConnectiononicecandidateerror
the rtcpeerconnection.onicecandidateerror property is an eventhandler which specifies a function which is called to handle the icecandidateerror event when it occurs on an rtcpeerconnection instance.
... syntax rtcpeerconnection.onicecandidateerror = eventhandler; value this should be set to a function you provide which is passed a single parameter: an rtcpeerconnectioniceerrorevent object describing the icecandidateerror event.
... example pc.onicecandidateerror = function(event) { if (event.errorcode >= 300 && event.errorcode <= 699) { // stun errors are in the range 300-699.
... } } specifications specification status comment webrtc 1.0: real-time communication between browsersthe definition of 'rtcpeerconnection.onicecandidateerror' in that specification.
RTCPeerConnection - Web APIs
WebAPIRTCPeerConnection
icecandidateerror an error of type rtcpeerconnectioniceerrorevent which is sent to the connection if an error occurred during ice candidate gathering.
... also available through the onicecandidateerror event handler property.
RTCPeerConnectionIceErrorEvent.address - Web APIs
WebAPIRTCPeerConnectionIceErrorEventaddress
examples this example creates a handler for icecandidateerror events which creates human readable messages describing the local network interface for the connection as well as the ice server that was being used to try to open the connection, then calls a function to display those as well as the event's errortext property's contents.
... pc.addeventlistener("icecandidateerror", (event) => { let networkinfo = `[local interface: ${event.address}:${event.port}`; let iceserverinfo = `[ice server: ${event.url}`; showmessage(errortext, iceserverinfo, networkinfo); }); specifications specification status comment webrtc 1.0: real-time communication between browsersthe definition of 'rtcpeerconnectioniceerrorevent.address' in that specification.
Index - Web APIs
WebAPIIndex
3437 rtcpeerconnection.onicecandidateerror experimental, ice, rtcpeerconnection, reference, webrtc, onicecandidateerror the rtcpeerconnection.onicecandidateerror property is an eventhandler which specifies a function which is called to handle the icecandidateerror event when it occurs on an rtcpeerconnection instance.
RTCErrorEvent - Web APIs
WebAPIRTCErrorEvent
the most common of these is probably rtcpeerconnectioniceerrorevent, used by the icecandidateerror event, which signals an error that has occurred while gathering ice candidates during connection negotiation.
RTCPeerConnectionIceErrorEvent - Web APIs
WebAPIRTCPeerConnectionIceErrorEvent
the rtcpeerconnectioniceerrorevent interface—based upon the event interface—provides details pertaining to an ice error announced by sending an icecandidateerror event to the rtcpeerconnection object.
WebRTC API - Web APIs
WebAPIWebRTC API
icecandidateerror an rtcpeerconnectioniceerrorevent indicating that an error has occurred while gathering ice candidates.