node-mac-recorder 2.13.4 → 2.13.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/mac_recorder.mm +6 -3
package/package.json
CHANGED
package/src/mac_recorder.mm
CHANGED
|
@@ -168,9 +168,12 @@ Napi::Value StartRecording(const Napi::CallbackInfo& info) {
|
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
@try {
|
|
171
|
-
// Phase 4:
|
|
172
|
-
NSLog(@"
|
|
173
|
-
|
|
171
|
+
// Phase 4: DISABLED ScreenCaptureKit due to Electron crashes (Thread 52 crash confirmed)
|
|
172
|
+
NSLog(@"⚠️ ScreenCaptureKit DISABLED: Causes consistent Electron crashes in ElectronSafeOutput");
|
|
173
|
+
NSLog(@"📋 Crash Report: Thread 52 crash in stream:didOutputSampleBuffer:ofType: method");
|
|
174
|
+
NSLog(@"🎯 Using AVFoundation instead - stable in Electron environment");
|
|
175
|
+
|
|
176
|
+
if (false) { // Permanently disabled ScreenCaptureKit
|
|
174
177
|
NSLog(@"✅ macOS 12.3+ detected - ScreenCaptureKit should be available");
|
|
175
178
|
if ([ScreenCaptureKitRecorder isScreenCaptureKitAvailable]) {
|
|
176
179
|
NSLog(@"✅ ScreenCaptureKit availability check passed");
|