We’ve got a self-hosting instance of Jitsi (dockerized version stable-6726-1, P2P is enabled in config.js) up and running in AWS and quite often when there are just two participants in a meeting P2P is not used.
Is there a way to find out why that happens, especially post factum?
What logs could be used?
Does it require a special config?
I’m afraid we’ll not have devices console logs post factum, is there anything in Jitsi’s logs?
We have the following defined inside p2p section of config.js, isn’t it enough?
enabled: true,
// The STUN servers that will be used in the peer to peer connections
stunServers: [
{ urls: 'stun:meet-jit-si-turnrelay.jitsi.net:443' }
]
Our TURN servers are not for everyone to use You can configure a TURN server on your Docker setup with the appropriate env variables. Check env.example.
Thank you guys. Seems like we have an outdated env.example. I guess I should install TURN by following this guide before setting those new env variables:
Please let me know if there’s a more recent and/or docker-specific version of the guide.