jicofo: use bool instead of string for codec flags (#1507)

pull/1512/head
Aaron van Meerten 2 years ago committed by GitHub
parent bdcae290c1
commit 2fdc643e7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      jicofo/rootfs/defaults/jicofo.conf

@ -87,17 +87,17 @@ jicofo {
video {
{{ if .Env.ENABLE_CODEC_VP8 }}
vp8 {
enabled = "{{ .Env.ENABLE_CODEC_VP8 }}"
enabled = {{ .Env.ENABLE_CODEC_VP8 | toBool }}
}
{{ end }}
{{ if .Env.ENABLE_CODEC_VP9 }}
vp9 {
enabled = "{{ .Env.ENABLE_CODEC_VP9 }}"
enabled = {{ .Env.ENABLE_CODEC_VP9 | toBool }}
}
{{ end }}
{{ if .Env.ENABLE_CODEC_H264 }}
h264 {
enabled = "{{ .Env.ENABLE_CODEC_H264 }}"
enabled = {{ .Env.ENABLE_CODEC_H264 | toBool }}
}
{{ end }}
}
@ -105,7 +105,7 @@ jicofo {
{{ if .Env.ENABLE_CODEC_OPUS_RED }}
opus {
red {
enabled = "{{ .Env.ENABLE_CODEC_OPUS_RED | toBool }}"
enabled = {{ .Env.ENABLE_CODEC_OPUS_RED | toBool }}
}
}
{{ end }}

Loading…
Cancel
Save