We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a7985b commit 268eecbCopy full SHA for 268eecb
crates/recording/src/sources/screen_capture/macos.rs
@@ -460,12 +460,6 @@ impl output_pipeline::VideoSource for VideoSource {
460
}
461
462
fn is_system_stop_error(err: &ns::Error) -> bool {
463
- const SCK_ERROR_DOMAIN: &str = "com.apple.ScreenCaptureKit.error";
464
-
465
- if err.domain().to_string() != SCK_ERROR_DOMAIN {
466
- return false;
467
- }
468
469
err.localized_description().to_string() == "Stream was stopped by the system"
470
471
0 commit comments