You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I tried this project out to see if I could code a version myself to get some practice with WebRTC. I completed the project but I ran into the problem where ICE fails when I try to connect the remote video. I tried recreate the problem by cloning, and working with, this repository and the same thing happens. With this repository, when trying to connect to with a remote user, Firebase updates with call info and candidates but I keep getting an error in the console saying "WebRTC: ICE failed, add a TURN server and see about:webrtc for more details" and the remote video fails to show up. I didn't think a TURN server was required to get the basic functionality working so any advice would be appreciated to help me get this working.
The text was updated successfully, but these errors were encountered:
sbeczkiewicz
changed the title
ICE fails even trying with different networks
ICE failing
Mar 19, 2021
Is your implementation working when you 1) Run it locally and use two tabs of same browser to test? and 2) Run locally and test on two different devices?
Local tests (within your own network where each device is set to be discoverable by others sharing the same network) would not need TURN server however remote tests with devices in different network will.
If you're using this starter code, for your local test you could do something like:
const servers = null;
// Create peer connection
const pc = new RTCPeerConnection(servers);
// Can add your own handler/logger for when icecandidate is available
pc.addEventListener('icecandidate', myhandleConnectionFunc);
Hello!
I tried this project out to see if I could code a version myself to get some practice with WebRTC. I completed the project but I ran into the problem where ICE fails when I try to connect the remote video. I tried recreate the problem by cloning, and working with, this repository and the same thing happens. With this repository, when trying to connect to with a remote user, Firebase updates with call info and candidates but I keep getting an error in the console saying "WebRTC: ICE failed, add a TURN server and see about:webrtc for more details" and the remote video fails to show up. I didn't think a TURN server was required to get the basic functionality working so any advice would be appreciated to help me get this working.
The text was updated successfully, but these errors were encountered: