mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-04 08:34:12 +00:00
Fix auto record outgoing sessions ignore record permission (#10294)
1. Fix auto record outgoing sessions ignore record permission 2. Stop record if record permission changed 3. Update hwcodec 4. Make video thread finish faster when connection closed Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
1 parent
771cc565ab
commit
e5aa31eb4c
5 files changed
+57
-31
No files matched your search
@@ -390,16 +390,11 @@ impl<T: InvokeUiSession> Session<T> {
|
||||
}
|
||||
|
||||
pub fn record_screen(&self, start: bool) {
|
||||
let mut misc = Misc::new();
|
||||
misc.set_client_record_status(start);
|
||||
let mut msg = Message::new();
|
||||
msg.set_misc(misc);
|
||||
self.send(Data::Message(msg));
|
||||
self.send(Data::RecordScreen(start));
|
||||
}
|
||||
|
||||
pub fn is_recording(&self) -> bool {
|
||||
self.lc.read().unwrap().record
|
||||
self.lc.read().unwrap().record_state
|
||||
}
|
||||
|
||||
pub fn save_custom_image_quality(&self, custom_image_quality: i32) {
|
||||
|
||||
Reference in new issue
Block a user