jicofo: use bool instead of string for codec flags (#1507)
This commit is contained in:
committed by
GitHub
parent
bdcae290c1
commit
2fdc643e7c
@@ -87,17 +87,17 @@ jicofo {
|
|||||||
video {
|
video {
|
||||||
{{ if .Env.ENABLE_CODEC_VP8 }}
|
{{ if .Env.ENABLE_CODEC_VP8 }}
|
||||||
vp8 {
|
vp8 {
|
||||||
enabled = "{{ .Env.ENABLE_CODEC_VP8 }}"
|
enabled = {{ .Env.ENABLE_CODEC_VP8 | toBool }}
|
||||||
}
|
}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Env.ENABLE_CODEC_VP9 }}
|
{{ if .Env.ENABLE_CODEC_VP9 }}
|
||||||
vp9 {
|
vp9 {
|
||||||
enabled = "{{ .Env.ENABLE_CODEC_VP9 }}"
|
enabled = {{ .Env.ENABLE_CODEC_VP9 | toBool }}
|
||||||
}
|
}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Env.ENABLE_CODEC_H264 }}
|
{{ if .Env.ENABLE_CODEC_H264 }}
|
||||||
h264 {
|
h264 {
|
||||||
enabled = "{{ .Env.ENABLE_CODEC_H264 }}"
|
enabled = {{ .Env.ENABLE_CODEC_H264 | toBool }}
|
||||||
}
|
}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
}
|
}
|
||||||
@@ -105,7 +105,7 @@ jicofo {
|
|||||||
{{ if .Env.ENABLE_CODEC_OPUS_RED }}
|
{{ if .Env.ENABLE_CODEC_OPUS_RED }}
|
||||||
opus {
|
opus {
|
||||||
red {
|
red {
|
||||||
enabled = "{{ .Env.ENABLE_CODEC_OPUS_RED | toBool }}"
|
enabled = {{ .Env.ENABLE_CODEC_OPUS_RED | toBool }}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user