diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-04-08 21:14:44 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2020-04-08 21:14:44 +0200 |
commit | 4c2ae7f696b06b4f926c0115de63046686db6ef9 (patch) | |
tree | 73704e64a87de517ce33afe98db87d3cfbe278be | |
parent | e936ebd43fe29ba0d681659692ff5ae7053e4290 (diff) | |
download | infrastructure-4c2ae7f696b06b4f926c0115de63046686db6ef9.tar.gz infrastructure-4c2ae7f696b06b4f926c0115de63046686db6ef9.zip |
Reduce to 480p video
-rw-r--r-- | docker/jitsi/02_run.yml | 11 | ||||
-rw-r--r-- | docker/jitsi/jitsi-front/config.js | 22 |
2 files changed, 18 insertions, 15 deletions
diff --git a/docker/jitsi/02_run.yml b/docker/jitsi/02_run.yml index e1db056..b87f376 100644 --- a/docker/jitsi/02_run.yml +++ b/docker/jitsi/02_run.yml @@ -1,4 +1,4 @@ -version: '3' +version: '3.4' services: jitsi-xmpp: build: ./jitsi-xmpp @@ -11,8 +11,11 @@ services: env_file: [ 'dev.env' ] volumes: [ './jitsi-certs/:/certs:ro' ] jitsi-front: - build: ./jitsi-front - image: superboum/amd64_jitsi_front:v3 + build: + context: ./jitsi-front + #network: host + #^-- I have some DNS problems on Fedora 32 in Docker + image: superboum/amd64_jitsi_front:v4 network_mode: host ports: - "443:443" @@ -29,7 +32,7 @@ services: image: superboum/amd64_jitsi_videobridge:v6 network_mode: host ports: - - "995:995" + - "8080:8080/tcp" - "10000:10000/udp" env_file: [ 'dev.env' ] volumes: [ './jitsi-certs/:/certs:ro' ] diff --git a/docker/jitsi/jitsi-front/config.js b/docker/jitsi/jitsi-front/config.js index b172303..18ff319 100644 --- a/docker/jitsi/jitsi-front/config.js +++ b/docker/jitsi/jitsi-front/config.js @@ -106,23 +106,23 @@ var config = { // Video // Sets the preferred resolution (height) for local video. Defaults to 720. - // resolution: 720, + resolution: 480, // w3c spec-compliant video constraints to use for video capture. Currently // used by browsers that return true from lib-jitsi-meet's // util#browser#usesNewGumFlow. The constraints are independency from // this config's resolution value. Defaults to requesting an ideal aspect // ratio of 16:9 with an ideal resolution of 720. - // constraints: { - // video: { - // aspectRatio: 16 / 9, - // height: { - // ideal: 720, - // max: 720, - // min: 240 - // } - // } - // }, + constraints: { + video: { + aspectRatio: 16 / 9, + height: { + ideal: 480, + max: 720, + min: 240 + } + } + }, // Enable / disable simulcast support. // disableSimulcast: false, |