No TURN-Server in standard package installation?

I’ve installed Jitsi Meet (quick-install) via this command:
apt install --no-install-recommends jitsi-meet

It states:

If you are already running Nginx on port 443 on the same machine you better skip the turnserver configuration as it will conflict with your current port 443, […]

So, if I’m right there is no TURN-Server after installation.

I checked “/etc/jitsi/meet/-config.js”. It’s commented:
// useStunTurn: true,

So my installation is not using a TURN-Server.

Is a TURN-Server really necessary? Or is a STUN-Server sufficient?

That is not requirement, but helps in certain situation like corporate firewall with no udp.

Ok thank you @damencho.

I now installed coturn on a different machine for STUN and TURN. STUN- and TURN-Server is working.

This is what I changed within Jitsi Meet.
[1] nano /etc/prosody/conf.avail/

turncredentials_secret = “mysecet”;

turncredentials = { 
   { type = "stun", host = "", port = "443" }, 
   { type = "turn", host = "", port = "443", transport = "udp" }, 
   { type = "turns", host = "", port = "443", transport = "tcp" } 

Is this also necessary?

turncredentials_port = 443;
turncredentials_ttl = 86400;

[2] /etc/jitsi/meet/

useStunTurn: true,
p2p: {
       useStunTurn: true,

[3] /etc/jitsi/videobridge/


Seems okay. Anything to add?

That is not needed if I correctly remember the source code of the module.
Everything seems fine, I think.

Thanks again @damencho

Last question.
I want to use my own STUN-server. But in “/etc/jitsi/videobridge/” I found this:

Is this parameter used? When it’s used? Can I change the address to my own STUN-server?

Yes you can, that on jvb boot only when it is used.

Ok. But as far as I know this setting is only used (once during startup) by JVB - for machines behind NAT, with no public ip address.

Yes. But will not hurt those with no NAT.

Or you see problems with it grep -i harvest /var/log/jitsi/jvb.log do you see correct ip addresses to listen on port 10000?

With this grep there is no output.

But yes, I see the public IP address of the server:
udp6 0 0 IPv4:10000
udp6 0 0 IPv6::10000

We had a corporate client who was unable to join a meeting. This is on an AWS server.
/etc/jitsi/videobridge/ had the following.

Should I uncomment
to ensure corporate clients can connect?

This is just a way for jvb to discover its private and public address, it substitutes DISABLE_AWS_HARVESTER when running in non AWS env.
What you need is to install and configure turn server. That is separate process, separate config and you need configs in prosody config and to enable it in config.js:

If you install latest stable jitsi-meet on clean VM you will get Nginx configured and coturn running and configured to be used.

1 Like