bigbluebutton / bbb-install

BASH script to install BigBlueButton in 30 minutes.
GNU Lesser General Public License v3.0
612 stars 538 forks source link

Why voice transmission is possible after disabling stun server #439

Open mtalhabalci opened 2 years ago

mtalhabalci commented 2 years ago

we have installed bbb on an ubuntu 18.04 server. our application is running behind nat. we installed a turn server in another ubuntu 20.04 server and made the configurations with bbb in the turn-stun-servers.xml file. our application is running without problem.

but we have a question with this situation; in the configuration file of turn server, we uncommented #no-stun line and change the bbb turn-stun-servers.xml configuration to stun. we could not share screen and webcam but sound transmission was possible. how was that possible?

i'm asking if my stun server can be used by someone else, because stun server configuration doesn't need username/password.

ffdixon commented 2 years ago

our application is running without problem.

Glad to hear it's working. Recommend you leave the default settings.

i'm asking if my stun server can be used by someone else, because stun server configuration doesn't need username/password.

Yes, others can use your STUN server, such as others can use the publicly available STUN from Google at stun.l.google.com:19302. The STUN protocol allows users to determine their IP address -- it's a very simple protocol and media is transferred.

The TURN protocol relays media, uses bandwidth on your TURN server, and thus is secured by default with a shared secret.

mtalhabalci commented 2 years ago

Thanks for your response. 1- In the documentation it was written that the turn protocol was not cpu or memory intensive. So we installed turn server with low requirements. I hope we won't have a performance problems for that. 2- Again how was the sound transmission possible as we closed turn configuration and uncomment the #no-stun line?