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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-mac-recorder",
3
- "version": "2.13.4",
3
+ "version": "2.13.5",
4
4
  "description": "Native macOS screen recording package for Node.js applications",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -168,9 +168,12 @@ Napi::Value StartRecording(const Napi::CallbackInfo& info) {
168
168
  }
169
169
 
170
170
  @try {
171
- // Phase 4: Pure ScreenCaptureKit with memory-optimized implementation
172
- NSLog(@"🔍 Phase 4: Pure ScreenCaptureKit with Electron-safe memory optimization");
173
- if (@available(macOS 12.3, *)) {
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");