Search completed in 0.94 seconds.
8 results for "icecandidateerror":
RTCPeerConnection: icecandidateerror event - Web APIs
Web › API › RTCPeerConnection › icecandidateerror event
there is one additional, webrtc-specific, error which lies outside the valid stun error code range: 701. error 701 indicates that none of the ice candidates were able to successfully make contact with the stun or turn server. ...
...t to an rtcpeerconnection if an error occurs while performing ice negotiations through a stun or turn server. the event object is of type rtcpeerconnectioniceerrorevent, and contains information describing the error in some amount of detail. 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. there is one additional, webrtc-specific, error which lies outside the valid stun error code range: 701. error 701 indicates that none of the ice candidates were able to successfully make contact with the stun or turn server. the 701 error is fired only once per server url from the list of available...
...ror 701 indicates that none of the ice candidates were able to successfully make contact with the stun or turn server. the 701 error is fired only once per server url from the list of available stun or turn servers provided when creating the rtcpeerconnection. these errors occur only when the connection's ice gathering state is gathering. ...
...And 2 more matches
RTCPeerConnection.onicecandidateerror - Web APIs
Web › API › RTCPeerConnection › 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. this event is fired when an error occurs during the ice candidate gathering process. 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. the event offers properties describing the error to help you handle it appropriately. example pc.onicecandidateerror = function(event) { if (event.errorcode >= 300 && event.errorcode <= 699) { // stun errors are in the range 300-699. see rfc 5389, section 15.6 // for a list of codes...
...codes; see // rfc 5766, section 15 for details. } else if (event.errorcode >= 700 && event.errorcode <= 799) { // server could not be reached; a specific error number is // provided but these are not yet specified. } } specifications specification status comment webrtc 1.0: real-time communication between browsersthe definition of 'rtcpeerconnection.onicecandidateerror' in that specification. candidate recommendation initial specification. ...
RTCPeerConnectionIceErrorEvent.address - Web APIs
Web › API › RTCPeerConnectionIceErrorEvent › address
ed systems—devices with more than one network connection—to determine which network interface is being used. for example, on a mobile phone, there are typically at least two network interfaces available: the cellular connection and a wifi connection. if the local ip address isn't exposed as part of a local candidate, the value of address is null. ...
...candidate, the value of address is null. 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. ...
Index - Web APIs
Web › API › Index
ction, reference, sdp, webrtc, webrtc api, onicecandidate the rtcpeerconnection property onicecandidate property is an eventhandler which specifies a function to be called when the icecandidate event occurs on an rtcpeerconnection instance. this happens whenever the local ice agent needs to deliver a message to the other peer through the signaling server. 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. this event is fired when an error occurs during the ice candidate gathering process. 3438 rtcpeerconn...
RTCErrorEvent - Web APIs
Web › API › RTCErrorEvent
rred (such as which line number in the sdp or what sctp cause code was at issue). methods no additional methods are provided beyond any found on the parent interface, event. description there are other data types used for error events in webrtc, as needed for errors with special information sharing requirements. 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. specifications specification status comment webrtc 1.0: real-time communication between browsersthe definition of 'rtcerrorevent' in that specification. candidate recommendation initial definition. ...
RTCPeerConnection - Web APIs
Web › API › RTCPeerConnection
atechange event handler property. datachannel sent to the rtcpeerconnection object when the remote peer adds an rtcdatachannel to the connection. also available through the ondatachannel event handler property. icecandidate sent to the peer connection to request that the specified candidate be transmitted to the remote peer. also available through the onicecandidate event handler property. icecandidateerror an error of type rtcpeerconnectioniceerrorevent which is sent to the connection if an error occurred during ice candidate gathering. the event's properties describe the error. also available through the onicecandidateerror event handler property. iceconnectionstatechange sent to the rtcpeerconnection when the state of the ice connection changes, such as when it disconnects. also available us...
RTCPeerConnectionIceErrorEvent - Web APIs
Web › API › RTCPeerConnectionIceErrorEvent
constructor rtcpeerconnectioniceerrorevent() creates and returns a new rtcpeerconnectioniceerrorevent object, with its type and other properties initialized as specified in the parameters. you will not normally create an object of this type yourself. ...
WebRTC API - Web APIs
Web › API › WebRTC API
orevent indicating that an error occurred on the rtcdtlstransport. this error will be either dtls-failure or fingerprint-failure. gatheringstatechange the rtcicetransport's gathering state has changed. icecandidate an rtcpeerconnectioniceevent which is sent whenever the local device has identified a new ice candidate which needs to be added to the local peer by calling setlocaldescription(). icecandidateerror an rtcpeerconnectioniceerrorevent indicating that an error has occurred while gathering ice candidates. iceconnectionstatechange sent to an rtcpeerconnection when its ice connection's state—found in the iceconnectionstate property—changes. icegatheringstatechange sent to an rtcpeerconnection when its ice gathering state—found in the icegatheringstate property—changes. message a mes...