feat(jvb) default to using dcSCTP

pull/1862/head
Saúl Ibarra Corretgé 4 months ago
parent d2c26aad54
commit a88dd8bbbc
  1. 1
      docker-compose.yml
  2. 2
      jvb/rootfs/defaults/jvb.conf

@ -437,6 +437,7 @@ services:
- JVB_OCTO_REGION - JVB_OCTO_REGION
- JVB_OCTO_RELAY_ID - JVB_OCTO_RELAY_ID
- JVB_REQUIRE_VALID_ADDRESS - JVB_REQUIRE_VALID_ADDRESS
- JVB_USE_USRSCTP
- JVB_WS_DOMAIN - JVB_WS_DOMAIN
- JVB_WS_SERVER_ID - JVB_WS_SERVER_ID
- JVB_WS_TLS - JVB_WS_TLS

@ -21,6 +21,7 @@
{{ $JVB_XMPP_SERVERS := splitList "," $JVB_XMPP_SERVER -}} {{ $JVB_XMPP_SERVERS := splitList "," $JVB_XMPP_SERVER -}}
{{ $PUBLIC_URL_DOMAIN := .Env.PUBLIC_URL | default "https://localhost:8443" | trimPrefix "https://" | trimSuffix "/" -}} {{ $PUBLIC_URL_DOMAIN := .Env.PUBLIC_URL | default "https://localhost:8443" | trimPrefix "https://" | trimSuffix "/" -}}
{{ $SHUTDOWN_REST_ENABLED := .Env.SHUTDOWN_REST_ENABLED | default "false" | toBool -}} {{ $SHUTDOWN_REST_ENABLED := .Env.SHUTDOWN_REST_ENABLED | default "false" | toBool -}}
{{ $USE_USRSCTP := .Env.JVB_USE_USRSCTP | default "false" | toBool -}}
{{ $WS_DOMAIN := .Env.JVB_WS_DOMAIN | default $PUBLIC_URL_DOMAIN -}} {{ $WS_DOMAIN := .Env.JVB_WS_DOMAIN | default $PUBLIC_URL_DOMAIN -}}
{{ $WS_SERVER_ID := .Env.JVB_WS_SERVER_ID | default .Env.JVB_WS_SERVER_ID_FALLBACK | default "default" -}} {{ $WS_SERVER_ID := .Env.JVB_WS_SERVER_ID | default .Env.JVB_WS_SERVER_ID_FALLBACK | default "default" -}}
{{ $WS_TLS := .Env.JVB_WS_TLS | default "1" | toBool -}} {{ $WS_TLS := .Env.JVB_WS_TLS | default "1" | toBool -}}
@ -89,6 +90,7 @@ videobridge {
} }
sctp { sctp {
enabled = {{ $ENABLE_SCTP }} enabled = {{ $ENABLE_SCTP }}
use-usrsctp = {{ $USE_USRSCTP }}
} }
stats { stats {
enabled = true enabled = true

Loading…
Cancel
Save