From 1ad045ea0d707481c6c5465acc418f208fac6b5a Mon Sep 17 00:00:00 2001 From: bgrozev Date: Tue, 2 Jan 2024 12:17:31 -0600 Subject: [PATCH] feat: Add an option to enable sctp for relays. (#1688) --- docker-compose.yml | 1 + jicofo/rootfs/defaults/jicofo.conf | 2 ++ 2 files changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 688f19d..bd00452 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -317,6 +317,7 @@ services: - ENABLE_CODEC_OPUS_RED - ENABLE_JVB_XMPP_SERVER - ENABLE_OCTO + - ENABLE_OCTO_SCTP - ENABLE_RECORDING - ENABLE_SCTP - ENABLE_VISITORS diff --git a/jicofo/rootfs/defaults/jicofo.conf b/jicofo/rootfs/defaults/jicofo.conf index 221ae8a..0ecdaf3 100644 --- a/jicofo/rootfs/defaults/jicofo.conf +++ b/jicofo/rootfs/defaults/jicofo.conf @@ -7,6 +7,7 @@ {{ $ENABLE_SCTP := .Env.ENABLE_SCTP | default "0" | toBool -}} {{ $ENABLE_RECORDING := .Env.ENABLE_RECORDING | default "0" | toBool -}} {{ $ENABLE_OCTO := .Env.ENABLE_OCTO | default "0" | toBool -}} +{{ $ENABLE_OCTO_SCTP := .Env.ENABLE_OCTO_SCTP | default $ENABLE_SCTP | toBool -}} {{ $ENABLE_AUTO_LOGIN := .Env.ENABLE_AUTO_LOGIN | default "1" | toBool -}} {{ $ENABLE_REST := .Env.JICOFO_ENABLE_REST | default "0" | toBool -}} {{ $ENABLE_JVB_XMPP_SERVER := .Env.ENABLE_JVB_XMPP_SERVER | default "0" | toBool -}} @@ -203,6 +204,7 @@ jicofo { // two MUST be in sync (otherwise bridges will crash because they won't know how to // deal with octo channels). enabled = {{ $ENABLE_OCTO }} + sctp-datachannels = {{ $ENABLE_OCTO_SCTP }} } {{ if $ENABLE_REST }}