From eea18b101bc73ba084595b9ebb7b890de3422acd Mon Sep 17 00:00:00 2001 From: bgrozev Date: Thu, 12 Dec 2024 18:09:25 -0600 Subject: [PATCH] feat: Add an option to enable VLA. (#1979) --- docker-compose.yml | 1 + jicofo/rootfs/defaults/jicofo.conf | 5 +++++ jvb/rootfs/defaults/jvb.conf | 1 + 3 files changed, 7 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 49a24b5..d0964e8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -103,6 +103,7 @@ services: - ENABLE_TALK_WHILE_MUTED - ENABLE_TCC - ENABLE_TRANSCRIPTIONS + - ENABLE_VLA - ENABLE_XMPP_WEBSOCKET - ENABLE_JAAS_COMPONENTS - ETHERPAD_PUBLIC_URL diff --git a/jicofo/rootfs/defaults/jicofo.conf b/jicofo/rootfs/defaults/jicofo.conf index a99407b..3bc8f0b 100644 --- a/jicofo/rootfs/defaults/jicofo.conf +++ b/jicofo/rootfs/defaults/jicofo.conf @@ -135,6 +135,11 @@ jicofo { } {{ end }} } + rtp-extensions { + video-layers-allocation { + enabled = {{ .Env.ENABLE_VLA | default "0" | toBool }} + } + } } conference { diff --git a/jvb/rootfs/defaults/jvb.conf b/jvb/rootfs/defaults/jvb.conf index b5c548a..fabe2b7 100644 --- a/jvb/rootfs/defaults/jvb.conf +++ b/jvb/rootfs/defaults/jvb.conf @@ -35,6 +35,7 @@ videobridge { cc { + use-vla-target-bitrate = {{ .Env.ENABLE_VLA | default "0" | toBool }} trust-bwe = {{ $JVB_CC_TRUST_BWE }} } ice {