Why a direct video call is not as simple as it looks
Two people on separate home networks, each behind a router doing NAT, cannot simply dial each other's local IP address, since that address is meaningless outside their own home network. The STUN, TURN, and ICE stack exists specifically to solve this addressing and reachability problem so that WebRTC can attempt a direct connection whenever possible.
Why most calls prefer direct connection over a TURN relay
A direct peer-to-peer connection, found via STUN and confirmed by ICE, has lower latency and does not depend on a third-party relay server staying available and fast. TURN exists purely as a fallback for the cases, common on restrictive corporate or mobile networks, where a direct path genuinely cannot be established.
Frequently Asked Questions
Why do some video calls suddenly need a TURN server?
When both sides are on networks with strict firewall or NAT configurations that block direct peer-to-peer connections, ICE cannot find a working direct path and falls back to relaying all traffic through a TURN server instead, which can add noticeable latency.
Is WebRTC always fully peer-to-peer?
Not necessarily—a call is peer-to-peer only when a direct path is found. Group calls with more than two participants and any call that falls back to a TURN relay are not strictly peer-to-peer, even though they still use the WebRTC standard.