From 7c4cef0f9c684a8d29cceb5991d9aab3f6702d84 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Thu, 2 Apr 2020 20:24:50 +0200 Subject: Try to improve Jitsi --- docker/jitsi/jitsi-front/Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docker/jitsi/jitsi-front') diff --git a/docker/jitsi/jitsi-front/Dockerfile b/docker/jitsi/jitsi-front/Dockerfile index 239372e..21e220c 100644 --- a/docker/jitsi/jitsi-front/Dockerfile +++ b/docker/jitsi/jitsi-front/Dockerfile @@ -5,7 +5,13 @@ RUN apt-get update && \ git clone --depth=1 https://github.com/jitsi/jitsi-meet.git && \ cd jitsi-meet && \ npm install && \ - make + make && \ + sed -i \ + "s/OPTIMAL_BROWSERS: \[.*\],/ OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'nwjs', 'electron' ],/g" \ + interface_config.js && \ + sed -i \ + "s/UNSUPPORTED_BROWSERS: \[.*\],/ UNSUPPORTED_BROWSERS: [ 'firefox' ],/g" \ + interface_config.js FROM debian:buster -- cgit v1.2.3 From 510158e301d3a5da6c1d84a65dbc04b03a4d56eb Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sun, 5 Apr 2020 10:41:24 +0200 Subject: Last jitsi config --- docker/jitsi/jitsi-front/Dockerfile | 4 +++- docker/jitsi/jitsi-front/config.js | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'docker/jitsi/jitsi-front') diff --git a/docker/jitsi/jitsi-front/Dockerfile b/docker/jitsi/jitsi-front/Dockerfile index 21e220c..62fa166 100644 --- a/docker/jitsi/jitsi-front/Dockerfile +++ b/docker/jitsi/jitsi-front/Dockerfile @@ -5,7 +5,9 @@ RUN apt-get update && \ git clone --depth=1 https://github.com/jitsi/jitsi-meet.git && \ cd jitsi-meet && \ npm install && \ - make && \ + make + +RUN cd jitsi-meet && \ sed -i \ "s/OPTIMAL_BROWSERS: \[.*\],/ OPTIMAL_BROWSERS: [ 'chrome', 'chromium', 'nwjs', 'electron' ],/g" \ interface_config.js && \ diff --git a/docker/jitsi/jitsi-front/config.js b/docker/jitsi/jitsi-front/config.js index 34f0662..b172303 100644 --- a/docker/jitsi/jitsi-front/config.js +++ b/docker/jitsi/jitsi-front/config.js @@ -268,7 +268,7 @@ var config = { // disable1On1Mode: false, // Default language for the user interface. - // defaultLanguage: 'en', + defaultLanguage: 'fr', // If true all users without a token will be considered guests and all users // with token will be considered non-guests. Only guests will be allowed to @@ -359,7 +359,7 @@ var config = { // If set to true, it will prefer to use H.264 for P2P calls (if H.264 // is supported). - preferH264: true + preferH264: true, // If set to true, disable H.264 video codec by stripping it out of the // SDP. @@ -367,7 +367,7 @@ var config = { // How long we're going to wait, before going back to P2P after the 3rd // participant has left the conference (to filter out page reload). - // backToP2PDelay: 5 + backToP2PDelay: 60 }, analytics: { -- cgit v1.2.3