web: flag to control sctp bridge channel choice (#1613)

pull/1615/head
Aaron van Meerten 1 year ago committed by GitHub
parent 6bfa8302f1
commit bebd748712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      docker-compose.yml
  2. 7
      web/rootfs/defaults/system-config.js

@ -104,6 +104,7 @@ services:
- HIDE_PREJOIN_DISPLAY_NAME
- HIDE_PREJOIN_EXTRA_BUTTONS
- INVITE_SERVICE_URL
- JVB_PREFER_SCTP
- LETSENCRYPT_DOMAIN
- LETSENCRYPT_EMAIL
- LETSENCRYPT_USE_STAGING

@ -9,7 +9,7 @@
{{ $XMPP_GUEST_DOMAIN := .Env.XMPP_GUEST_DOMAIN | default "guest.meet.jitsi" -}}
{{ $XMPP_MUC_DOMAIN := .Env.XMPP_MUC_DOMAIN | default "muc.meet.jitsi" -}}
{{ $XMPP_MUC_DOMAIN_PREFIX := (split "." $XMPP_MUC_DOMAIN)._0 -}}
{{ $JVB_PREFER_SCTP := .Env.JVB_PREFER_SCTP | default "false" | toBool -}}
// Jitsi Meet configuration.
var config = {};
@ -58,3 +58,8 @@ config.externalConnectUrl = '/' + subdir + 'http-pre-bind';
config.externalConnectUrl = '/http-pre-bind';
{{ end -}}
{{ end -}}
{{ if $JVB_PREFER_SCTP -}}
if (!config.hasOwnProperty('bridgeChannel')) config.bridgeChannel = {};
config.bridgeChannel.preferSctp=true;
{{ end -}}

Loading…
Cancel
Save