node-mac-recorder 2.21.9 → 2.21.10

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.21.9",
3
+ "version": "2.21.10",
4
4
  "description": "Native macOS screen recording package for Node.js applications",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -501,16 +501,9 @@ Napi::Value StartRecording(const Napi::CallbackInfo& info) {
501
501
  return Napi::Boolean::New(env, false);
502
502
  }
503
503
 
504
- if (!startAudioIfRequested(captureAnyAudio, audioOutputPath, preferredAudioDeviceId)) {
505
- MRLog(@"❌ Audio start failed - stopping AVFoundation session");
506
- if (captureCamera) {
507
- stopCameraRecording();
508
- }
509
- stopAVFoundationRecording();
510
- g_isRecording = false;
511
- return Napi::Boolean::New(env, false);
512
- }
513
-
504
+ // NOTE: Audio is handled internally by AVFoundation, no need for standalone audio
505
+ // AVFoundation integrates audio recording directly
506
+
514
507
  g_isRecording = true;
515
508
  return Napi::Boolean::New(env, true);
516
509
  } else {