From b5f33730da3af40c073d2a81ed3eeea82a250e7f Mon Sep 17 00:00:00 2001 From: Matt McClaskey Date: Tue, 12 Nov 2024 20:24:12 +0500 Subject: [PATCH] update noVNC ref, add bitrate setting to yaml config --- .gitmodules | 2 +- unix/kasmvnc_defaults.yaml | 1 + unix/vncserver | 9 +++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 8232a78..2ecad8f 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,7 +1,7 @@ [submodule "kasmweb"] path = kasmweb url = https://github.com/kasmtech/noVNC.git - branch = master + branch = video2 [submodule "kasmvnc-functional-tests"] path = kasmvnc-functional-tests url = git@gitlab.com:kasm-technologies/internal/kasmvnc-functional-tests.git diff --git a/unix/kasmvnc_defaults.yaml b/unix/kasmvnc_defaults.yaml index 13aecf1..a0573ef 100644 --- a/unix/kasmvnc_defaults.yaml +++ b/unix/kasmvnc_defaults.yaml @@ -130,6 +130,7 @@ encoding: level: off scaling_algorithm: progressive_bilinear webp_encoding_time: 30 + bitrate: 300 compare_framebuffer: auto zrle_zlib_level: auto diff --git a/unix/vncserver b/unix/vncserver index 5a4410b..4db1fcc 100755 --- a/unix/vncserver +++ b/unix/vncserver @@ -2097,6 +2097,15 @@ sub DefineConfigToCLIConversion { }) ] }), + KasmVNC::CliOption->new({ + name => 'VideoBitRate', + configKeys => [ + KasmVNC::ConfigKey->new({ + name => "encoding.video_encoding_mode.bitrate", + type => KasmVNC::ConfigKey::INT + }) + ] + }), KasmVNC::CliOption->new({ name => 'CompareFB', configKeys => [