From b1a966b452a63426da63e3c6ae5f109d7eff8985 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 4 Apr 2020 17:51:05 +0200 Subject: [PATCH] Import more of default jitsi config.js Signed-off-by: Knut Ahlers --- config/jitsi-meet.js | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/config/jitsi-meet.js b/config/jitsi-meet.js index b0bb257..ee27fd6 100644 --- a/config/jitsi-meet.js +++ b/config/jitsi-meet.js @@ -1,9 +1,30 @@ var config = { + + // Connection + bosh: '//{{ env `JITSI_DOMAIN` }}/http-bind', hosts: { domain: '{{ env `JITSI_DOMAIN` }}', muc: 'conference.{{ env `JITSI_DOMAIN` }}', bridge: 'jitsi-videobridge.{{ env `JITSI_DOMAIN` }}', }, + + // Audio + enableNoAudioDetection: true, + enableNoisyMicDetection: true, + + // Misc + channelLastN: 10, + + // UI useNicks: false, - bosh: '//{{ env `JITSI_DOMAIN` }}/http-bind', + enableWelcomePage: true, + + // Peer-To-Peer mode + p2p: { + enabled: true, + stunServers: [ + { urls: 'stun:meet-jit-si-turnrelay.jitsi.net:443' } + ], + preferH264: true + }, };