Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
Simplify system stop error check in macOS screen capture
Richie McIlroy268eecb7924b
diff --git a/crates/recording/src/sources/screen_capture/macos.rs b/crates/recording/src/sources/screen_capture/macos.rsindex 248585166..0cbab83e4 100644--- a/crates/recording/src/sources/screen_capture/macos.rs+++ b/crates/recording/src/sources/screen_capture/macos.rs@@ -460,12 +460,6 @@ impl output_pipeline::VideoSource for VideoSource {}fn is_system_stop_error(err: &ns::Error) -> bool {- const SCK_ERROR_DOMAIN: &str = "com.apple.ScreenCaptureKit.error";-- if err.domain().to_string() != SCK_ERROR_DOMAIN {- return false;- }-err.localized_description().to_string() == "Stream was stopped by the system"}