Reduce to 480p video

This commit is contained in:
Quentin 2020-04-08 21:14:44 +02:00
parent e936ebd43f
commit 4c2ae7f696
2 changed files with 18 additions and 15 deletions

View file

@ -1,4 +1,4 @@
version: '3' version: '3.4'
services: services:
jitsi-xmpp: jitsi-xmpp:
build: ./jitsi-xmpp build: ./jitsi-xmpp
@ -11,8 +11,11 @@ services:
env_file: [ 'dev.env' ] env_file: [ 'dev.env' ]
volumes: [ './jitsi-certs/:/certs:ro' ] volumes: [ './jitsi-certs/:/certs:ro' ]
jitsi-front: jitsi-front:
build: ./jitsi-front build:
image: superboum/amd64_jitsi_front:v3 context: ./jitsi-front
#network: host
#^-- I have some DNS problems on Fedora 32 in Docker
image: superboum/amd64_jitsi_front:v4
network_mode: host network_mode: host
ports: ports:
- "443:443" - "443:443"
@ -29,7 +32,7 @@ services:
image: superboum/amd64_jitsi_videobridge:v6 image: superboum/amd64_jitsi_videobridge:v6
network_mode: host network_mode: host
ports: ports:
- "995:995" - "8080:8080/tcp"
- "10000:10000/udp" - "10000:10000/udp"
env_file: [ 'dev.env' ] env_file: [ 'dev.env' ]
volumes: [ './jitsi-certs/:/certs:ro' ] volumes: [ './jitsi-certs/:/certs:ro' ]

View file

@ -106,23 +106,23 @@ var config = {
// Video // Video
// Sets the preferred resolution (height) for local video. Defaults to 720. // 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 // w3c spec-compliant video constraints to use for video capture. Currently
// used by browsers that return true from lib-jitsi-meet's // used by browsers that return true from lib-jitsi-meet's
// util#browser#usesNewGumFlow. The constraints are independency from // util#browser#usesNewGumFlow. The constraints are independency from
// this config's resolution value. Defaults to requesting an ideal aspect // this config's resolution value. Defaults to requesting an ideal aspect
// ratio of 16:9 with an ideal resolution of 720. // ratio of 16:9 with an ideal resolution of 720.
// constraints: { constraints: {
// video: { video: {
// aspectRatio: 16 / 9, aspectRatio: 16 / 9,
// height: { height: {
// ideal: 720, ideal: 480,
// max: 720, max: 720,
// min: 240 min: 240
// } }
// } }
// }, },
// Enable / disable simulcast support. // Enable / disable simulcast support.
// disableSimulcast: false, // disableSimulcast: false,