jibri: add ability to ignore certificate errors

This is useful for testing without a valid TLS certificate.
pull/1760/head
Saúl Ibarra Corretgé 8 months ago
parent 615396e1f0
commit ca61ea20b0
  1. 1
      jibri.yml
  2. 11
      jibri/rootfs/defaults/jibri.conf

@ -23,6 +23,7 @@ services:
- CHROMIUM_FLAGS
- DISPLAY=:0
- ENABLE_STATS_D
- IGNORE_CERTIFICATE_ERRORS
- JIBRI_WEBHOOK_SUBSCRIBERS
- JIBRI_INSTANCE_ID
- JIBRI_HTTP_API_EXTERNAL_PORT

@ -141,6 +141,17 @@ jibri {
"{{ join "\",\"" (splitList "," .Env.CHROMIUM_FLAGS) }}"
]
}
{{ else if .Env.IGNORE_CERTIFICATE_ERRORS -}}
chrome {
flags = [
"--use-fake-ui-for-media-stream",
"--start-maximized",
"--kiosk",
"--enabled",
"--autoplay-policy=no-user-gesture-required",
"--ignore-certificate-errors"
]
}
{{ end -}}
{{ if .Env.ENABLE_STATS_D -}}

Loading…
Cancel
Save