Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix last commit (#9939)

21pages9ee77a9b9283
diff --git a/src/flutter_ffi.rs b/src/flutter_ffi.rs
index 3943f30f1..7a0c5e874 100644
--- a/src/flutter_ffi.rs
+++ b/src/flutter_ffi.rs
@@ -2332,7 +2332,6 @@ pub mod server_side {
}
}
std::thread::spawn(move || start_server(true));
- scrap::codec::test_av1();
}
#[no_mangle]
diff --git a/src/rendezvous_mediator.rs b/src/rendezvous_mediator.rs
index f5d81eaff..69fc886ca 100644
--- a/src/rendezvous_mediator.rs
+++ b/src/rendezvous_mediator.rs
@@ -90,6 +90,7 @@ impl RendezvousMediator {
if crate::is_server() {
crate::platform::linux_desktop_manager::start_xdesktop();
}
+ scrap::codec::test_av1();
loop {
let conn_start_time = Instant::now();
*SOLVING_PK_MISMATCH.lock().await = "".to_owned();
diff --git a/src/server.rs b/src/server.rs
index 02c4df36c..46c30b8bc 100644
--- a/src/server.rs
+++ b/src/server.rs
@@ -501,7 +501,6 @@ pub async fn start_server(is_server: bool, no_server: bool) {
crate::platform::try_kill_broker();
#[cfg(feature = "hwcodec")]
scrap::hwcodec::start_check_process();
- scrap::codec::test_av1();
crate::RendezvousMediator::start_all().await;
} else {
match crate::ipc::connect(1000, "").await {