mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-04 10:31:26 +03:00
add enable directx option, android software encoding half resolution option (#8435)
* add option enable directx capture screen, default true Signed-off-by: 21pages <sunboeasy@gmail.com> * option android software encoding half scale, check isStart flag Signed-off-by: 21pages <sunboeasy@gmail.com> --------- Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
@@ -182,3 +182,8 @@ fn get_size() -> Option<(u16, u16, u16)> {
|
||||
}
|
||||
None
|
||||
}
|
||||
|
||||
pub fn is_start() -> Option<bool> {
|
||||
let res = call_main_service_get_by_name("is_start").ok()?;
|
||||
Some(res == "true")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user