web,jvb: add ability to disable web sockets for colibri

The fallback is to use SCTP datachannels. This is not recomended.
This commit is contained in:
Saúl Ibarra Corretgé
2021-04-01 13:22:11 +02:00
parent 6c4dce1622
commit e1cebcc253
3 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
{{ $ENABLE_COLIBRI_WEBSOCKET := .Env.ENABLE_COLIBRI_WEBSOCKET | default "1" | toBool }}
{{ $JVB_TCP_PORT := .Env.JVB_TCP_PORT | default "4443" }}
{{ $JVB_TCP_MAPPED_PORT := .Env.JVB_TCP_MAPPED_PORT | default $JVB_TCP_PORT }}
{{ $PUBLIC_URL_DOMAIN := .Env.PUBLIC_URL | default "https://localhost:8443" | trimPrefix "https://" | trimSuffix "/" -}}
@@ -36,7 +37,7 @@ videobridge {
enabled = true
}
websockets {
enabled = true
enabled = {{ $ENABLE_COLIBRI_WEBSOCKET }}
domain = "{{ $WS_DOMAIN }}"
tls = true
server-id = "{{ $WS_SERVER_ID }}"