4 ms·
IIRC the NAT traversal workarounds are optional in WebRTC? Just don't supply STUN/TURN servers when setting up a connection. Then you don't need to worry about
by fulafel 10y ago
IIRC the NAT traversal workarounds are optional in WebRTC? Just don't supply STUN/TURN servers when setting up a connection. Then you don't need to worry about it on the server side either.
(ICE means trying STUN and falling back on TURN).
- chadnickbok 10y agoYou must supply a STUN/Turn server to the browser when setting up the connection, but if you're connecting to a public server you can use ICE-Lite implementations server-side to simplify the setup. The ICE RFC does a good job of explaining it: https://tools.ietf.org/html/rfc5245#section-2.7 https://tools.ietf.org/html/rfc5245#section-2.7
- pthatcherg 10y agoYou don't need to give a server. It works fine with just host ICE candidates from the server and no stun or relay candidates.