fishjam-dev / membrane_rtc_engine

Customizable Real-time Communication Engine/SFU library focused on WebRTC.
Apache License 2.0
141 stars 13 forks source link

Firefox: ICE failed, your TURN server appears to be broken #350

Closed Whoops closed 9 months ago

Whoops commented 9 months ago

Running the webrtc_videoroom example in this repository, I am able to connect to a room in Chrome with no issue, however attempting to do the same in Firefox always fails, and the console logs the error "WebRTC: ICE failed, your TURN server appears to be broken, see about:webrtc for more details"

Running on Arch Linux, Firefox Developer version 122.0b9.

Attached is the about:webrtc (saved as .txt because Github won't let me upload .HTML) aboutWebrtc.txt

Let me know if there is any more information I can provide!

Whoops commented 9 months ago

Gah! Basic instructions are hard. Running with EXTERNAL_IP=<IPv4 address> mix phx.server as instructed in the README solved the issue. Similarly, binding to my actual IP rather than loopback or 0.0.0.0 resolved the issue with my own code.