mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
Merge pull request #2647 from KG7x/master
Fix typo & Optimize images & Cleanup
This commit is contained in:
@@ -251,7 +251,7 @@ impl Connection {
|
||||
|
||||
loop {
|
||||
tokio::select! {
|
||||
// biased; // video has higher priority // causing test_delay_timer failed while transfering big file
|
||||
// biased; // video has higher priority // causing test_delay_timer failed while transferring big file
|
||||
|
||||
Some(data) = rx_from_cm.recv() => {
|
||||
match data {
|
||||
|
||||
@@ -223,7 +223,7 @@ lazy_static::lazy_static! {
|
||||
|
||||
// First call set_uinput() will create keyboard and mouse clients.
|
||||
// The clients are ipc connections that must live shorter than tokio runtime.
|
||||
// Thus this funtion must not be called in a temporary runtime.
|
||||
// Thus this function must not be called in a temporary runtime.
|
||||
#[cfg(target_os = "linux")]
|
||||
pub async fn setup_uinput(minx: i32, maxx: i32, miny: i32, maxy: i32) -> ResultType<()> {
|
||||
// Keyboard and mouse both open /dev/uinput
|
||||
|
||||
@@ -198,7 +198,7 @@ impl VideoQoS {
|
||||
|
||||
#[cfg(target_os = "android")]
|
||||
{
|
||||
// fix when andorid screen shrinks
|
||||
// fix when android screen shrinks
|
||||
let fix = scrap::Display::fix_quality() as u32;
|
||||
log::debug!("Android screen, fix quality:{}", fix);
|
||||
let base_bitrate = base_bitrate * fix;
|
||||
|
||||
Reference in New Issue
Block a user