Merge pull request #2647 from KG7x/master

Fix typo & Optimize images & Cleanup
This commit is contained in:
RustDesk
2022-12-26 13:16:52 +08:00
committed by GitHub
83 changed files with 103 additions and 103 deletions

View File

@@ -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 {

View File

@@ -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

View File

@@ -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;