An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
Rust androidanydeskdartflatpakflutterflutter-appsioslinuxmacosp2prdpremote-controlremote-desktoprustrust-langteamviewervncwaylandwindows
fix typo (#8436)
21pagesffed29e6326e
diff --git a/libs/hbb_common/src/config.rs b/libs/hbb_common/src/config.rsindex 5846563bb..e1649ddd7 100644--- a/libs/hbb_common/src/config.rs+++ b/libs/hbb_common/src/config.rs@@ -2085,8 +2085,8 @@ pub mod keys {pub const OPTION_PRESET_ADDRESS_BOOK_NAME: &str = "preset-address-book-name";pub const OPTION_PRESET_ADDRESS_BOOK_TAG: &str = "preset-address-book-tag";pub const OPTION_ENABLE_DIRECTX_CAPTURE: &str = "enable-directx-capture";- pub const OPTION_ENABLE_ANDRIOD_SOFTWARE_ENCODING_HALF_SCALE: &str =- "enable-andriod-software-encoding-half-scale";+ pub const OPTION_ENABLE_ANDROID_SOFTWARE_ENCODING_HALF_SCALE: &str =+ "enable-android-software-encoding-half-scale";// flutter local optionspub const OPTION_FLUTTER_REMOTE_MENUBAR_STATE: &str = "remoteMenubarState";@@ -2210,7 +2210,7 @@ pub mod keys {OPTION_PRESET_ADDRESS_BOOK_NAME,OPTION_PRESET_ADDRESS_BOOK_TAG,OPTION_ENABLE_DIRECTX_CAPTURE,- OPTION_ENABLE_ANDRIOD_SOFTWARE_ENCODING_HALF_SCALE,+ OPTION_ENABLE_ANDROID_SOFTWARE_ENCODING_HALF_SCALE,];}diff --git a/src/server/video_service.rs b/src/server/video_service.rsindex eb9ec8689..7fd5dee1f 100644--- a/src/server/video_service.rs+++ b/src/server/video_service.rs@@ -841,7 +841,7 @@ fn get_recorder(#[cfg(target_os = "android")]fn check_change_scale(hardware: bool) -> ResultType<()> {- use hbb_common::config::keys::OPTION_ENABLE_ANDRIOD_SOFTWARE_ENCODING_HALF_SCALE as SCALE_SOFT;+ use hbb_common::config::keys::OPTION_ENABLE_ANDROID_SOFTWARE_ENCODING_HALF_SCALE as SCALE_SOFT;// isStart flag is set at the end of startCapture() in Android, wait it to be set.for i in 0..6 {