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 +1 -1
- package/src/mac_recorder.mm +3 -10
package/package.json
CHANGED
package/src/mac_recorder.mm
CHANGED
|
@@ -501,16 +501,9 @@ Napi::Value StartRecording(const Napi::CallbackInfo& info) {
|
|
|
501
501
|
return Napi::Boolean::New(env, false);
|
|
502
502
|
}
|
|
503
503
|
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
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 {
|