peerjs icon indicating copy to clipboard operation
peerjs copied to clipboard

iceConnectionState is failed, closing connections

Open eckel opened this issue 4 years ago • 3 comments
trafficstars

I get this error when I run my application on a mobile data connection. The same code works fine when connected via WIFI. I use my own instance of peerjs-server and one of coturn as TURN server. How can I debug this problem?

eckel avatar Mar 19 '21 21:03 eckel

Could be because of using a hot spot doesn't allow

ItsElmo avatar Mar 26 '21 01:03 ItsElmo

Been facing this issue for different devices.

It works when connecting browser to browser on different PCs, but I am seeing a webRTC error when setting up a peer on Chrome on Android, and trying to connect on Chrome on Windows PC.

image

pzyu avatar Mar 26 '21 11:03 pzyu

hello github code is on :- newVideo repo hosting:- https://pacific-sands-63780.herokuapp.com/

this code work properly when both users on same network(wifi, hotspot) but fail when network chenge (different wifi, mobile hotspot, network). I am facing ( peerConection.connectionState: "Failed" and iceConnectionState: "disconnected")

ttejas123 avatar Mar 29 '21 07:03 ttejas123