jibri: set base URL for joining meetings

This will make Jibri join PUBLIC_URL/meetingName instead of https://meet.jitsi/meetingName.
pull/1050/head
Saúl Ibarra Corretgé 4 years ago
parent a77a43e322
commit d9b84cfc2a
  1. 2
      docker-compose.yml
  2. 1
      jibri.yml
  3. 4
      jibri/rootfs/defaults/config.json

@ -108,8 +108,6 @@ services:
- TOKEN_AUTH_URL - TOKEN_AUTH_URL
networks: networks:
meet.jitsi: meet.jitsi:
aliases:
- ${XMPP_DOMAIN}
# XMPP server # XMPP server
prosody: prosody:

@ -13,6 +13,7 @@ services:
devices: devices:
- /dev/snd:/dev/snd - /dev/snd:/dev/snd
environment: environment:
- PUBLIC_URL
- XMPP_AUTH_DOMAIN - XMPP_AUTH_DOMAIN
- XMPP_INTERNAL_MUC_DOMAIN - XMPP_INTERNAL_MUC_DOMAIN
- XMPP_RECORDER_DOMAIN - XMPP_RECORDER_DOMAIN

@ -15,6 +15,8 @@
"{{ .Env.XMPP_SERVER }}" "{{ .Env.XMPP_SERVER }}"
], ],
"xmpp_domain": "{{ .Env.XMPP_DOMAIN }}", "xmpp_domain": "{{ .Env.XMPP_DOMAIN }}",
// An (optional) base url the Jibri will join if it is set
"baseUrl": "{{ .Env.PUBLIC_URL }}",
// Jibri will login to the xmpp server as a privileged user // Jibri will login to the xmpp server as a privileged user
"control_login": { "control_login": {
"domain": "{{ .Env.XMPP_AUTH_DOMAIN }}", "domain": "{{ .Env.XMPP_AUTH_DOMAIN }}",
@ -28,7 +30,7 @@
"control_muc": { "control_muc": {
"domain": "{{ .Env.XMPP_INTERNAL_MUC_DOMAIN }}", "domain": "{{ .Env.XMPP_INTERNAL_MUC_DOMAIN }}",
"room_name": "{{ .Env.JIBRI_BREWERY_MUC }}", "room_name": "{{ .Env.JIBRI_BREWERY_MUC }}",
// MUST be unic for every instanse // MUST be unic for every instanse
"nickname": "jibri-instanse-{{ .Env.JIBRI_INSTANCE_ID }}" "nickname": "jibri-instanse-{{ .Env.JIBRI_INSTANCE_ID }}"
}, },
// All participants in a call join a muc so they can exchange // All participants in a call join a muc so they can exchange

Loading…
Cancel
Save