mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
Fix switch audio input device failed in index page on Linux.
This commit is contained in:
@@ -515,6 +515,10 @@ pub fn set_option(key: &str, value: &str) {
|
||||
set_options(options).ok();
|
||||
}
|
||||
|
||||
pub fn restart_autdio_input() {
|
||||
crate::audio_service::restart();
|
||||
}
|
||||
|
||||
#[tokio::main(flavor = "current_thread")]
|
||||
pub async fn set_options(value: HashMap<String, String>) -> ResultType<()> {
|
||||
let mut c = connect(1000, "").await?;
|
||||
|
||||
Reference in New Issue
Block a user