jicofo: var for sctp relay control

sctp-relay-jicofo
Aaron van Meerten 1 year ago
parent 8555fe1c4a
commit 4067e5ae5e
  1. 1
      docker-compose.yml
  2. 2
      jicofo/rootfs/defaults/jicofo.conf

@ -310,6 +310,7 @@ services:
- ENABLE_OCTO - ENABLE_OCTO
- ENABLE_RECORDING - ENABLE_RECORDING
- ENABLE_SCTP - ENABLE_SCTP
- ENABLE_SCTP_RELAY
- ENABLE_VISITORS - ENABLE_VISITORS
- ENABLE_AUTO_LOGIN - ENABLE_AUTO_LOGIN
- JICOFO_AUTH_LIFETIME - JICOFO_AUTH_LIFETIME

@ -5,6 +5,7 @@
{{ $JICOFO_AUTH_TYPE := .Env.JICOFO_AUTH_TYPE | default $AUTH_TYPE -}} {{ $JICOFO_AUTH_TYPE := .Env.JICOFO_AUTH_TYPE | default $AUTH_TYPE -}}
{{ $JICOFO_AUTH_LIFETIME := .Env.JICOFO_AUTH_LIFETIME | default "24 hours" -}} {{ $JICOFO_AUTH_LIFETIME := .Env.JICOFO_AUTH_LIFETIME | default "24 hours" -}}
{{ $ENABLE_SCTP := .Env.ENABLE_SCTP | default "0" | toBool -}} {{ $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_RECORDING := .Env.ENABLE_RECORDING | default "0" | toBool -}}
{{ $ENABLE_OCTO := .Env.ENABLE_OCTO | default "0" | toBool -}} {{ $ENABLE_OCTO := .Env.ENABLE_OCTO | default "0" | toBool -}}
{{ $ENABLE_AUTO_LOGIN := .Env.ENABLE_AUTO_LOGIN | default "1" | 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 // two MUST be in sync (otherwise bridges will crash because they won't know how to
// deal with octo channels). // deal with octo channels).
enabled = {{ $ENABLE_OCTO }} enabled = {{ $ENABLE_OCTO }}
sctp-datachannels = {{ $ENABLE_SCTP_RELAY }}
} }
{{ if $ENABLE_REST }} {{ if $ENABLE_REST }}

Loading…
Cancel
Save