From a88dd8bbbc27804c4b4e78e236b4e84579cc7352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 9 Jul 2024 17:15:48 +0200 Subject: [PATCH] feat(jvb) default to using dcSCTP --- docker-compose.yml | 1 + jvb/rootfs/defaults/jvb.conf | 2 ++ 2 files changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index a0a4014..9447263 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -437,6 +437,7 @@ services: - JVB_OCTO_REGION - JVB_OCTO_RELAY_ID - JVB_REQUIRE_VALID_ADDRESS + - JVB_USE_USRSCTP - JVB_WS_DOMAIN - JVB_WS_SERVER_ID - JVB_WS_TLS diff --git a/jvb/rootfs/defaults/jvb.conf b/jvb/rootfs/defaults/jvb.conf index 1a31c49..92561b9 100644 --- a/jvb/rootfs/defaults/jvb.conf +++ b/jvb/rootfs/defaults/jvb.conf @@ -21,6 +21,7 @@ {{ $JVB_XMPP_SERVERS := splitList "," $JVB_XMPP_SERVER -}} {{ $PUBLIC_URL_DOMAIN := .Env.PUBLIC_URL | default "https://localhost:8443" | trimPrefix "https://" | trimSuffix "/" -}} {{ $SHUTDOWN_REST_ENABLED := .Env.SHUTDOWN_REST_ENABLED | default "false" | toBool -}} +{{ $USE_USRSCTP := .Env.JVB_USE_USRSCTP | default "false" | toBool -}} {{ $WS_DOMAIN := .Env.JVB_WS_DOMAIN | default $PUBLIC_URL_DOMAIN -}} {{ $WS_SERVER_ID := .Env.JVB_WS_SERVER_ID | default .Env.JVB_WS_SERVER_ID_FALLBACK | default "default" -}} {{ $WS_TLS := .Env.JVB_WS_TLS | default "1" | toBool -}} @@ -89,6 +90,7 @@ videobridge { } sctp { enabled = {{ $ENABLE_SCTP }} + use-usrsctp = {{ $USE_USRSCTP }} } stats { enabled = true