mirror of
https://github.com/jitsi/docker-jitsi-meet.git
synced 2026-04-02 15:51:05 +02:00
jicofo: use bool instead of string for codec flags (#1507)
This commit is contained in:
parent
bdcae290c1
commit
2fdc643e7c
@ -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…
x
Reference in New Issue
Block a user