Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Increase frame decode timeout and add warning log
Richie McIlroy68559d00404d
diff --git a/crates/rendering/src/decoder/mod.rs b/crates/rendering/src/decoder/mod.rsindex 3ab2d9ec0..35f7c1b19 100644--- a/crates/rendering/src/decoder/mod.rs+++ b/crates/rendering/src/decoder/mod.rs@@ -468,9 +468,15 @@ impl AsyncVideoDecoderHandle {return None;}- match tokio::time::timeout(std::time::Duration::from_millis(250), rx).await {+ match tokio::time::timeout(std::time::Duration::from_millis(1000), rx).await {Ok(result) => result.ok(),- Err(_) => None,+ Err(_) => {+ tracing::warn!(+ time = adjusted_time,+ "Frame decode request timed out after 1000ms"+ );+ None+ }}}