I’ve no issues with getting video calls to work within the LAN. But calls that cross over into other networks just don’t connect - the spinner just keeps spinning forever.
This must be because firewalls / NATs are getting in the way of making a peer-to-peer connection.
Thus, I need to run a STUN / TURN server.
So I’ve installed “coturn” and I’ve gone through the options in “turnserver.conf”. I have a static public IP address. I’m using the standard port 3478 and have opened the firewall ports for this.
When I’ve tried browsing to the STUN / TURN server address “domain.tld:3478” then I get a page that says “TURN server”. So it’s up and running, and accessible from the outside world.
But I still can’t get it to work.
Searching online, folks recommend a “trickle ICE” testing tool. I don’t really understand it but I put in the URI of my STUN / TURN server, clicked “gather” but it just hangs with no results.
Obviously, some settings somewhere are incorrect. But how does one diagnose what’s at error with a view to fixing it?