This commit is contained in:
KG7x
2022-12-25 20:21:13 +03:00
parent 4e7568dec1
commit 71103886e6
20 changed files with 32 additions and 32 deletions

View File

@@ -244,7 +244,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;