mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-09 18:21:27 +03:00
opt supported encoding update, consider multi connections (#7978)
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -638,6 +638,8 @@ impl Drop for Raii {
|
||||
fn drop(&mut self) {
|
||||
#[cfg(feature = "vram")]
|
||||
VRamEncoder::set_not_use(self.0, false);
|
||||
#[cfg(feature = "vram")]
|
||||
Encoder::update(scrap::codec::EncodingUpdate::Check);
|
||||
VIDEO_QOS.lock().unwrap().set_support_abr(self.0, true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user