Bundle or auto-configure a STUN/TURN server
dguido opened this issue · comments
https://github.com/trailofbits/tubertc/blob/master/server.js#L125-L146
See appIceServers: http://easyrtc.com/docs/guides/easyrtc_server_configuration.php
AFAIK the 3 most popular STUN/TURN servers are:
- https://github.com/otalk/restund (C)
- https://github.com/coturn/coturn (C)
- http://www.resiprocate.org/Main_Page (C++)
Guides
- http://www.html5rocks.com/en/tutorials/webrtc/infrastructure/#after-signaling-using-ice-to-cope-with-nats-and-firewalls
- https://www.webrtc-experiment.com/docs/TURN-server-installation-guide.html
- http://www.rtcquickstart.org/ICE-STUN-TURN-server-installation
There are a variety of ways to "bundle" a STUN/TURN server, but I think an Ansible script would work best.
Hey when I try connecting users from outside the lan it either takes a lot of time or doesn't connect at all, can I configure my own STUN/TURN servers? If the answer is yes, where the config file for the TURN server list? Thanks!
@hayzamjs You can configure your own STUN/TURN servers in https://github.com/trailofbits/tubertc/blob/master/settings.json and https://github.com/trailofbits/tubertc/blob/master/settings.json
See https://easyrtc.com/docs/easyrtc_server_ice.php for formatting rules.
https://github.com/pions/turn might be a good candidate for a really simple TURN server