From 4067e5ae5e36871231faca26325f503daefb3402 Mon Sep 17 00:00:00 2001 From: Aaron van Meerten Date: Tue, 17 Oct 2023 12:53:17 -0500 Subject: [PATCH] jicofo: var for sctp relay control --- 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 3527e86..8f51d03 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -310,6 +310,7 @@ services: - ENABLE_OCTO - ENABLE_RECORDING - ENABLE_SCTP + - ENABLE_SCTP_RELAY - ENABLE_VISITORS - ENABLE_AUTO_LOGIN - JICOFO_AUTH_LIFETIME diff --git a/jicofo/rootfs/defaults/jicofo.conf b/jicofo/rootfs/defaults/jicofo.conf index b8f9abe..ed239b1 100644 --- a/jicofo/rootfs/defaults/jicofo.conf +++ b/jicofo/rootfs/defaults/jicofo.conf @@ -5,6 +5,7 @@ {{ $JICOFO_AUTH_TYPE := .Env.JICOFO_AUTH_TYPE | default $AUTH_TYPE -}} {{ $JICOFO_AUTH_LIFETIME := .Env.JICOFO_AUTH_LIFETIME | default "24 hours" -}} {{ $ENABLE_SCTP := .Env.ENABLE_SCTP | default "0" | toBool -}} +{{ $ENABLE_SCTP_RELAY := .Env.ENABLE_SCTP_RELAY | default "0" | toBool -}} {{ $ENABLE_RECORDING := .Env.ENABLE_RECORDING | default "0" | toBool -}} {{ $ENABLE_OCTO := .Env.ENABLE_OCTO | default "0" | toBool -}} {{ $ENABLE_AUTO_LOGIN := .Env.ENABLE_AUTO_LOGIN | default "1" | toBool -}} @@ -197,6 +198,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_SCTP_RELAY }} } {{ if $ENABLE_REST }}