forked from jitsi/docker-jitsi-meet
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release * a5ebb99 jibri: flag to support prometheus-style metrics (jitsi#1768) * 80fc10e feat(prosody): Cleans up gc settings. * 69bba17 feat(prosody): Adjusts lua to use generational GC for brewery.cfg.lua. * 2798426 feat(prosody): Adjusts lua to use generational GC. * 28d2b32 feat(prosody): Make sure muc tumbstones is disabled. * d5df19d jigasi: autoscaler sidecar support (jitsi#1738) * 0953ca0 jigasi: skip SIP configuration when configured as a transcriber * ca1d670 fix: 🐛 wrong quote in default config (jitsi#1761) * 360361e jibri: move xmpp config for easier override (jitsi#1748) * 452f5ba misc: working on unstable
- Loading branch information
Showing
22 changed files
with
365 additions
and
154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
{{ $JIBRI_BREWERY_MUC := .Env.JIBRI_BREWERY_MUC | default "jibribrewery" -}} | ||
{{ $XMPP_MUC_DOMAIN := .Env.XMPP_MUC_DOMAIN | default "muc.meet.jitsi" -}} | ||
{{ $XMPP_MUC_DOMAIN_PREFIX := (split "." $XMPP_MUC_DOMAIN)._0 -}} | ||
{{ $JIBRI_STRIP_DOMAIN_JID := .Env.JIBRI_STRIP_DOMAIN_JID | default $XMPP_MUC_DOMAIN_PREFIX -}} | ||
{{ $JIBRI_RECORDER_USER := .Env.JIBRI_RECORDER_USER | default "recorder" -}} | ||
{{ $JIBRI_USAGE_TIMEOUT := .Env.JIBRI_USAGE_TIMEOUT | default "0" -}} | ||
{{ $JIBRI_XMPP_USER := .Env.JIBRI_XMPP_USER | default "jibri" -}} | ||
{{ $XMPP_AUTH_DOMAIN := .Env.XMPP_AUTH_DOMAIN | default "auth.meet.jitsi" -}} | ||
{{ $XMPP_DOMAIN := .Env.XMPP_DOMAIN | default "meet.jitsi" -}} | ||
{{ $XMPP_INTERNAL_MUC_DOMAIN := .Env.XMPP_INTERNAL_MUC_DOMAIN | default "internal-muc.meet.jitsi" -}} | ||
{{ $XMPP_RECORDER_DOMAIN := .Env.XMPP_RECORDER_DOMAIN | default "recorder.meet.jitsi" -}} | ||
{{ $XMPP_TRUST_ALL_CERTS := .Env.XMPP_TRUST_ALL_CERTS | default "true" | toBool -}} | ||
{{ $XMPP_PORT := .Env.XMPP_PORT | default "5222" -}} | ||
{{ $XMPP_SERVER := .Env.XMPP_SERVER | default "xmpp.meet.jitsi" -}} | ||
{{ $XMPP_SERVERS := splitList "," $XMPP_SERVER -}} | ||
{{/* assign env from context, preserve during range when . is re-assigned */}} | ||
{{ $ENV := .Env -}} | ||
|
||
jibri.api.xmpp.environments = [ | ||
// See example_xmpp_envs.conf for an example of what is expected here | ||
{{ range $index, $element := $XMPP_SERVERS -}} | ||
{{ $SERVER := splitn ":" 2 $element }} | ||
{ | ||
// A user-friendly name for this environment | ||
name = "{{ $ENV.XMPP_ENV_NAME }}-{{$index}}" | ||
|
||
// A list of XMPP server hosts to which we'll connect | ||
xmpp-server-hosts = [ | ||
"{{ $SERVER._0 }}" | ||
] | ||
|
||
// The base XMPP domain | ||
xmpp-domain = "{{ $XMPP_DOMAIN }}" | ||
|
||
{{ if $ENV.PUBLIC_URL -}} | ||
// An (optional) base url the Jibri will join if it is set | ||
base-url = "{{ $ENV.PUBLIC_URL }}" | ||
{{ end -}} | ||
|
||
// The MUC we'll join to announce our presence for | ||
// recording and streaming services | ||
control-muc { | ||
domain = "{{ $XMPP_INTERNAL_MUC_DOMAIN }}" | ||
room-name = "{{ $JIBRI_BREWERY_MUC }}" | ||
nickname = "{{ $ENV.JIBRI_INSTANCE_ID }}" | ||
} | ||
|
||
// The login information for the control MUC | ||
control-login { | ||
domain = "{{ $XMPP_AUTH_DOMAIN }}" | ||
port = "{{ $SERVER._1 | default $XMPP_PORT }}" | ||
username = "{{ $JIBRI_XMPP_USER }}" | ||
password = "{{ $ENV.JIBRI_XMPP_PASSWORD }}" | ||
} | ||
|
||
// The login information the selenium web client will use | ||
call-login { | ||
domain = "{{ $XMPP_RECORDER_DOMAIN }}" | ||
username = "{{ $JIBRI_RECORDER_USER }}" | ||
password = "{{ $ENV.JIBRI_RECORDER_PASSWORD }}" | ||
} | ||
|
||
// The value we'll strip from the room JID domain to derive | ||
// the call URL | ||
strip-from-room-domain = "{{ $JIBRI_STRIP_DOMAIN_JID }}." | ||
|
||
// How long Jibri sessions will be allowed to last before | ||
// they are stopped. A value of 0 allows them to go on | ||
// indefinitely | ||
usage-timeout = "{{ $JIBRI_USAGE_TIMEOUT }}" | ||
|
||
// Whether or not we'll automatically trust any cert on | ||
// this XMPP domain | ||
trust-all-xmpp-certs = {{ $XMPP_TRUST_ALL_CERTS }} | ||
} | ||
{{ end }} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.