From 29a4523760543675ecbdcf9887751d06c0c9452d Mon Sep 17 00:00:00 2001 From: Halil Teyfik <49863255+teyfix@users.noreply.github.com> Date: Wed, 3 Jul 2024 21:10:32 +0300 Subject: [PATCH] feat(jvb) add JVB_CC_TRUST_BWE environment variable --- docker-compose.yml | 1 + jvb/rootfs/defaults/jvb.conf | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 06ba51b..a0a4014 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -425,6 +425,7 @@ services: - JVB_AUTH_USER - JVB_AUTH_PASSWORD - JVB_BREWERY_MUC + - JVB_CC_TRUST_BWE - JVB_DISABLE_STUN - JVB_DISABLE_XMPP - JVB_INSTANCE_ID diff --git a/jvb/rootfs/defaults/jvb.conf b/jvb/rootfs/defaults/jvb.conf index e33bc0e..1a31c49 100644 --- a/jvb/rootfs/defaults/jvb.conf +++ b/jvb/rootfs/defaults/jvb.conf @@ -8,6 +8,7 @@ {{ $JVB_STUN_SERVERS := .Env.JVB_STUN_SERVERS | default "meet-jit-si-turnrelay.jitsi.net:443" -}} {{ $JVB_AUTH_USER := .Env.JVB_AUTH_USER | default "jvb" -}} {{ $JVB_BREWERY_MUC := .Env.JVB_BREWERY_MUC | default "jvbbrewery" -}} +{{ $JVB_CC_TRUST_BWE := .Env.JVB_CC_TRUST_BWE | default "true" | toBool -}} {{ $JVB_MUC_NICKNAME := .Env.JVB_MUC_NICKNAME | default .Env.HOSTNAME -}} {{ $JVB_ADVERTISE_PRIVATE_CANDIDATES := .Env.JVB_ADVERTISE_PRIVATE_CANDIDATES | default "true" | toBool -}} {{ $JVB_ADVERTISE_IPS := .Env.JVB_ADVERTISE_IPS | default "" -}} @@ -32,6 +33,9 @@ {{ $ENV := .Env -}} videobridge { + cc { + trust-bwe = {{ $JVB_CC_TRUST_BWE }} + } ice { udp { port = {{ .Env.JVB_PORT | default 10000 }}