Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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).



You 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


You don't need to give a server. It works fine with just host ICE candidates from the server and no stun or relay candidates.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: