mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-27 14:59:02 +08:00
parent
304e0e465d
commit
9ee77a9b92
@ -2332,7 +2332,6 @@ pub mod server_side {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
std::thread::spawn(move || start_server(true));
|
std::thread::spawn(move || start_server(true));
|
||||||
scrap::codec::test_av1();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
|
@ -90,6 +90,7 @@ impl RendezvousMediator {
|
|||||||
if crate::is_server() {
|
if crate::is_server() {
|
||||||
crate::platform::linux_desktop_manager::start_xdesktop();
|
crate::platform::linux_desktop_manager::start_xdesktop();
|
||||||
}
|
}
|
||||||
|
scrap::codec::test_av1();
|
||||||
loop {
|
loop {
|
||||||
let conn_start_time = Instant::now();
|
let conn_start_time = Instant::now();
|
||||||
*SOLVING_PK_MISMATCH.lock().await = "".to_owned();
|
*SOLVING_PK_MISMATCH.lock().await = "".to_owned();
|
||||||
|
@ -501,7 +501,6 @@ pub async fn start_server(is_server: bool, no_server: bool) {
|
|||||||
crate::platform::try_kill_broker();
|
crate::platform::try_kill_broker();
|
||||||
#[cfg(feature = "hwcodec")]
|
#[cfg(feature = "hwcodec")]
|
||||||
scrap::hwcodec::start_check_process();
|
scrap::hwcodec::start_check_process();
|
||||||
scrap::codec::test_av1();
|
|
||||||
crate::RendezvousMediator::start_all().await;
|
crate::RendezvousMediator::start_all().await;
|
||||||
} else {
|
} else {
|
||||||
match crate::ipc::connect(1000, "").await {
|
match crate::ipc::connect(1000, "").await {
|
||||||
|
Loading…
Reference in New Issue
Block a user