feat: Add an option to enable sctp for relays. (#1688)

This commit is contained in:
bgrozev
2024-01-02 12:17:31 -06:00
committed by GitHub
parent aa898e457a
commit 1ad045ea0d
2 changed files with 3 additions and 0 deletions

View File

@@ -317,6 +317,7 @@ services:
- ENABLE_CODEC_OPUS_RED - ENABLE_CODEC_OPUS_RED
- ENABLE_JVB_XMPP_SERVER - ENABLE_JVB_XMPP_SERVER
- ENABLE_OCTO - ENABLE_OCTO
- ENABLE_OCTO_SCTP
- ENABLE_RECORDING - ENABLE_RECORDING
- ENABLE_SCTP - ENABLE_SCTP
- ENABLE_VISITORS - ENABLE_VISITORS

View File

@@ -7,6 +7,7 @@
{{ $ENABLE_SCTP := .Env.ENABLE_SCTP | default "0" | toBool -}} {{ $ENABLE_SCTP := .Env.ENABLE_SCTP | 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_OCTO_SCTP := .Env.ENABLE_OCTO_SCTP | default $ENABLE_SCTP | toBool -}}
{{ $ENABLE_AUTO_LOGIN := .Env.ENABLE_AUTO_LOGIN | default "1" | toBool -}} {{ $ENABLE_AUTO_LOGIN := .Env.ENABLE_AUTO_LOGIN | default "1" | toBool -}}
{{ $ENABLE_REST := .Env.JICOFO_ENABLE_REST | default "0" | toBool -}} {{ $ENABLE_REST := .Env.JICOFO_ENABLE_REST | default "0" | toBool -}}
{{ $ENABLE_JVB_XMPP_SERVER := .Env.ENABLE_JVB_XMPP_SERVER | 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 // 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_OCTO_SCTP }}
} }
{{ if $ENABLE_REST }} {{ if $ENABLE_REST }}