mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2026-07-17 16:36:49 +00:00
VNC-151 Fix for the script
This commit is contained in:
parent
08169f624f
commit
660e2f7b99
1 changed files with 3 additions and 2 deletions
|
|
@ -2102,8 +2102,9 @@ sub DefineConfigToCLIConversion {
|
|||
configKeys => [
|
||||
KasmVNC::ConfigKey->new({
|
||||
name => "encoding.video_streaming_mode.codec",
|
||||
validator => KasmVNC::EnumValidator->new({
|
||||
allowedValues => [qw(auto h264 h264_vaapi avc avc_vaapi h265 h265_vaapi hevc hevc_vaapi av1 av1_vaapi)]
|
||||
validator => KasmVNC::PatternValidator->new({
|
||||
pattern => qr/^(auto|h264|h264_vaapi|avc|avc_vaapi|h265|h265_vaapi|hevc|hevc_vaapi)(,(auto|h264|h264_vaapi|avc|avc_vaapi|h265|h265_vaapi|hevc|hevc_vaapi))*$/,
|
||||
errorMessage => "must be one of [auto, h264, h264_vaapi, avc, avc_vaapi, h265, h265_vaapi, hevc, hevc_vaapi, av1, av1_vaapi] or a comma-separated list of those values"
|
||||
})
|
||||
})
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue