Hi Everyone,
We've seen many posts in the past about administrators reporting that their users are receiving media errors (such as 1007) when trying to connect behind a restricted firewall.
Many times, such firewalls restrict all outgoing connections to port 443, so the browser's attempt to make UDP connections to FreeSWITCH (audio) or mediasoup (video) will fail.
In the past, the solution was for the administrator to set up a separate TURN server for the BigBlueButton server, see
However, this requires running a separate server to run the TURN (coturn) software. We've been asked over the years if it's possible to run the TURN server on the BigBlueButton server itself.
One of the projects we explored at the BigBlueButton Developer Summit in Berlin was to explore exactly this (thanks schrd!) . Specifically, we explored using haproxy to listen on port 443 and proxy incoming packets: https packets for nginx and TURN packets for coturn.
You can see this work in
We now have it ready for you to test.
If you want to have BigBlueButton 2.6 installed with an integrated TURN server, when you run the bbb-install command, substitute
for
That's it.
Note, an alternative approach would be to setup a second hostname for the local TURN server and use nginx to proxy incoming requests based on the hostname. With using haproxy, there isn't any need for a second hostname.
If you use the built-in TURN server, we recommend opening port 3478 on your BigBlueButton server as well
If your going to try upgrading an existing BigBlueButton 2.6-beta server, or try installing the latest release (just in time for beta-3!)
try using
bbb-install-2.6-turn.sh and you should have less audio/video issues for users behind restricted firewalls.
Please let us know the results.
Regards,... Fred
--
BigBlueButton Developer
Like BigBlueButton? Tweet us at @bigbluebutton