fix(jibri): IGNORE_CERTIFICATE_ERRORS as boolean

pull/1864/head
emrah 4 months ago committed by Saúl Ibarra Corretgé
parent 54baee28b5
commit fae66ad05c
  1. 3
      jibri/rootfs/defaults/jibri.conf

@ -1,3 +1,4 @@
{{ $IGNORE_CERTIFICATE_ERRORS := .Env.IGNORE_CERTIFICATE_ERRORS | default "false" | toBool -}}
{{ $ENABLE_PROMETHEUS := .Env.JIBRI_ENABLE_PROMETHEUS | default "false" | toBool -}} {{ $ENABLE_PROMETHEUS := .Env.JIBRI_ENABLE_PROMETHEUS | default "false" | toBool -}}
{{ $JIBRI_RECORDING_RESOLUTION := .Env.JIBRI_RECORDING_RESOLUTION | default "1280x720" -}} {{ $JIBRI_RECORDING_RESOLUTION := .Env.JIBRI_RECORDING_RESOLUTION | default "1280x720" -}}
{{ $JIBRI_RECORDING_VIDEO_ENCODE_PRESET := .Env.JIBRI_RECORDING_VIDEO_ENCODE_PRESET | default "veryfast" -}} {{ $JIBRI_RECORDING_VIDEO_ENCODE_PRESET := .Env.JIBRI_RECORDING_VIDEO_ENCODE_PRESET | default "veryfast" -}}
@ -64,7 +65,7 @@ jibri {
"{{ join "\",\"" (splitList "," .Env.CHROMIUM_FLAGS) }}" "{{ join "\",\"" (splitList "," .Env.CHROMIUM_FLAGS) }}"
] ]
} }
{{ else if .Env.IGNORE_CERTIFICATE_ERRORS -}} {{ else if $IGNORE_CERTIFICATE_ERRORS -}}
chrome { chrome {
flags = [ flags = [
"--use-fake-ui-for-media-stream", "--use-fake-ui-for-media-stream",

Loading…
Cancel
Save