mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2026-07-17 16:36:49 +00:00
VNC-151 Add new CLI options for vncserver script
This commit is contained in:
parent
144e8f0a16
commit
43695f51de
1 changed files with 22 additions and 2 deletions
|
|
@ -2098,10 +2098,30 @@ sub DefineConfigToCLIConversion {
|
|||
]
|
||||
}),
|
||||
KasmVNC::CliOption->new({
|
||||
name => 'VideoBitRate',
|
||||
name => 'videoCodec',
|
||||
configKeys => [
|
||||
KasmVNC::ConfigKey->new({
|
||||
name => "encoding.video_encoding_mode.bitrate",
|
||||
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)]
|
||||
})
|
||||
})
|
||||
]
|
||||
}),
|
||||
KasmVNC::CliOption->new({
|
||||
name => 'VideoQualityCRFCPQ',
|
||||
configKeys => [
|
||||
KasmVNC::ConfigKey->new({
|
||||
name => "encoding.video_streaming_mode.quality",
|
||||
type => KasmVNC::ConfigKey::INT
|
||||
})
|
||||
]
|
||||
}),
|
||||
KasmVNC::CliOption->new({
|
||||
name => 'GroupOfPicture',
|
||||
configKeys => [
|
||||
KasmVNC::ConfigKey->new({
|
||||
name => "encoding.video_streaming_mode.video_codec",
|
||||
type => KasmVNC::ConfigKey::INT
|
||||
})
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue