Skip to content

Commit 76ffaa7

Browse files
authored
jicofo, jvb: fix OCTO + SCTP behaviour
Fixes: #1787
1 parent 0298a30 commit 76ffaa7

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

jicofo/rootfs/defaults/jicofo.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{{ $ENABLE_SCTP := .Env.ENABLE_SCTP | default "0" | toBool -}}
88
{{ $ENABLE_RECORDING := .Env.ENABLE_RECORDING | default "0" | toBool -}}
99
{{ $ENABLE_OCTO := .Env.ENABLE_OCTO | default "0" | toBool -}}
10-
{{ $ENABLE_OCTO_SCTP := .Env.ENABLE_OCTO_SCTP | default (.Env.ENABLE_SCTP | default "0") | toBool -}}
10+
{{ $ENABLE_OCTO_SCTP := .Env.ENABLE_OCTO_SCTP | default $ENABLE_SCTP | toBool -}}
1111
{{ $ENABLE_AUTO_LOGIN := .Env.ENABLE_AUTO_LOGIN | default "1" | toBool -}}
1212
{{ $ENABLE_REST := .Env.JICOFO_ENABLE_REST | default "0" | toBool -}}
1313
{{ $ENABLE_JVB_XMPP_SERVER := .Env.ENABLE_JVB_XMPP_SERVER | default "0" | toBool -}}
@@ -288,8 +288,8 @@ jicofo {
288288
disable-certificate-verification = true
289289
}
290290
{{ end }}
291-
291+
292292
trusted-domains = [ {{ range $index, $element := $TRUSTED_DOMAINS }}{{ if gt $index 0 }},{{ end }}"{{ $element }}"{{ end}} ]
293-
293+
294294
}
295295
}

jvb/rootfs/etc/cont-init.d/10-config

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,3 @@ tpl /defaults/logging.properties > /config/logging.properties
7272
tpl /defaults/jvb.conf > /config/jvb.conf
7373

7474
chown -R jvb:jitsi /config
75-
76-
# Configuration checks
77-
if [[ (-z $ENABLE_COLIBRI_WEBSOCKET || $ENABLE_COLIBRI_WEBSOCKET == "0") && $ENABLE_OCTO == "1" ]]; then
78-
echo "ERROR: In order to enable Octo relays (with ENABLE_OCTO=1), you MUST enable Colibri websockets (with ENABLE_COLIBRI_WEBSOCKET=1)";
79-
exit 1;
80-
fi

0 commit comments

Comments
 (0)