prosody: visitor mode support (#1611)
support for visitor mode in prosody, with some fixes for jicofo as well
This commit is contained in:
committed by
GitHub
parent
7bfc5c1f7a
commit
6bfa8302f1
@@ -19,6 +19,9 @@
|
||||
{{ $JVB_XMPP_INTERNAL_MUC_DOMAIN := .Env.JVB_XMPP_INTERNAL_MUC_DOMAIN | default "muc.jvb.meet.jitsi" -}}
|
||||
{{ $JVB_XMPP_PORT := .Env.JVB_XMPP_PORT | default "6222" -}}
|
||||
{{ $JVB_XMPP_SERVER := .Env.JVB_XMPP_SERVER | default "xmpp.jvb.meet.jitsi" -}}
|
||||
{{ $VISITORS_MAX_VISITORS_PER_NODE := .Env.VISITORS_MAX_VISITORS_PER_NODE | default "250" }}
|
||||
{{ $VISITORS_MUC_PREFIX := .Env.PROSODY_VISITORS_MUC_PREFIX | default "muc" -}}
|
||||
{{ $VISITORS_XMPP_DOMAIN := .Env.VISITORS_XMPP_DOMAIN | default "meet.jitsi" -}}
|
||||
{{ $VISITORS_XMPP_SERVER := .Env.VISITORS_XMPP_SERVER | default "" -}}
|
||||
{{ $VISITORS_XMPP_SERVERS := splitList "," $VISITORS_XMPP_SERVER -}}
|
||||
{{ $VISITORS_XMPP_PORT := .Env.VISITORS_XMPP_PORT | default "52220" }}
|
||||
@@ -212,8 +215,8 @@ jicofo {
|
||||
{{ if .Env.VISITORS_MAX_PARTICIPANTS }}
|
||||
max-participants = {{ .Env.VISITORS_MAX_PARTICIPANTS }}
|
||||
{{ end }}
|
||||
{{ if .Env.VISITORS_MAX_VISITORS_PER_NODE }}
|
||||
max-visitors-per-node = {{ .Env.VISITORS_MAX_VISITORS_PER_NODE }}
|
||||
{{ if $VISITORS_MAX_VISITORS_PER_NODE }}
|
||||
max-visitors-per-node = {{ $VISITORS_MAX_VISITORS_PER_NODE }}
|
||||
{{ end }}
|
||||
}
|
||||
{{ end }}
|
||||
@@ -225,12 +228,12 @@ jicofo {
|
||||
{{ $SERVER := splitn ":" 2 $element }}
|
||||
v{{ $index }} {
|
||||
enabled = true
|
||||
conference-service = conference.v{{ $index }}.{{ $XMPP_DOMAIN }}
|
||||
conference-service = {{ $VISITORS_MUC_PREFIX }}.v{{ $index }}.{{ $VISITORS_XMPP_DOMAIN }}
|
||||
hostname = {{ $SERVER._0 }}
|
||||
{{ $DEFAULT_PORT := add $VISITORS_XMPP_PORT $index }}
|
||||
port = {{ $SERVER._1 | default $DEFAULT_PORT }}
|
||||
domain = "{{ $XMPP_AUTH_DOMAIN }}"
|
||||
xmpp-domain = v{{ $index }}.{{ $XMPP_DOMAIN }}
|
||||
xmpp-domain = v{{ $index }}.{{ $VISITORS_XMPP_DOMAIN }}
|
||||
password = "{{ $ENV.JICOFO_AUTH_PASSWORD }}"
|
||||
disable-certificate-verification = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user