Answer the question
In order to leave comments, you need to log in
How to deal with iceConnectionState: failed?
Good afternoon. I'm typing webrtc technology and ran into a problem that if users are in different networks, then the connection is not established, if in one then the connection goes.
I actually describe the structure:
1) a server on a node - for exchanging peers between users
2) client 1
3) client 2
they successfully exchange peers. the connection starts to be established, goes into the checking state, and then falls as failed
; the server itself is the following:
var StunServers = {
'iceServers': [{
'url': 'stun:stun.l.google.com:19302'
}]
};
oniceconnectionstatechange
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question