fix last commit (#9939)

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages 2024-11-17 09:21:34 +08:00 committed by GitHub
parent 304e0e465d
commit 9ee77a9b92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1 additions and 2 deletions

View File

@ -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]

View File

@ -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();

View File

@ -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 {