jicofo: add bridge region support and local region (#1497)

pull/1498/head
Aaron van Meerten 2 years ago committed by GitHub
parent 9c2f742991
commit 76f886fbb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docker-compose.yml
  2. 8
      jicofo/rootfs/defaults/jicofo.conf

@ -274,11 +274,13 @@ services:
- ENABLE_SCTP - ENABLE_SCTP
- ENABLE_AUTO_LOGIN - ENABLE_AUTO_LOGIN
- JICOFO_AUTH_PASSWORD - JICOFO_AUTH_PASSWORD
- JICOFO_BRIDGE_REGION_GROUPS
- JICOFO_ENABLE_BRIDGE_HEALTH_CHECKS - JICOFO_ENABLE_BRIDGE_HEALTH_CHECKS
- JICOFO_CONF_INITIAL_PARTICIPANT_WAIT_TIMEOUT - JICOFO_CONF_INITIAL_PARTICIPANT_WAIT_TIMEOUT
- JICOFO_CONF_SINGLE_PARTICIPANT_TIMEOUT - JICOFO_CONF_SINGLE_PARTICIPANT_TIMEOUT
- JICOFO_ENABLE_HEALTH_CHECKS - JICOFO_ENABLE_HEALTH_CHECKS
- JICOFO_ENABLE_REST - JICOFO_ENABLE_REST
- JICOFO_OCTO_REGION
- JIBRI_BREWERY_MUC - JIBRI_BREWERY_MUC
- JIBRI_REQUEST_RETRIES - JIBRI_REQUEST_RETRIES
- JIBRI_PENDING_TIMEOUT - JIBRI_PENDING_TIMEOUT

@ -75,6 +75,10 @@ jicofo {
{{ else }} {{ else }}
brewery-jid = "{{ $JVB_BREWERY_MUC }}@{{ $XMPP_INTERNAL_MUC_DOMAIN }}" brewery-jid = "{{ $JVB_BREWERY_MUC }}@{{ $XMPP_INTERNAL_MUC_DOMAIN }}"
{{ end }} {{ end }}
{{ if .Env.JICOFO_BRIDGE_REGION_GROUPS }}
region-groups = [{{ .Env.JICOFO_BRIDGE_REGION_GROUPS }}]
{{ end }}
} }
// Configure the codecs and RTP extensions to be used in the offer sent to clients. // Configure the codecs and RTP extensions to be used in the offer sent to clients.
codec { codec {
@ -135,6 +139,10 @@ jicofo {
} }
{{ end }} {{ end }}
{{ if .Env.JICOFO_OCTO_REGION }}
local-region = "{{ .Env.JICOFO_OCTO_REGION }}"
{{ end }}
octo { octo {
// Whether or not to use Octo. Note that when enabled, its use will be determined by // Whether or not to use Octo. Note that when enabled, its use will be determined by
// $jicofo.bridge.selection-strategy. There's a corresponding flag in the JVB and these // $jicofo.bridge.selection-strategy. There's a corresponding flag in the JVB and these

Loading…
Cancel
Save