node-mac-recorder 2.21.31 → 2.21.32

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.31",
3
+ "version": "2.21.32",
4
4
  "description": "Native macOS screen recording package for Node.js applications",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -71,7 +71,7 @@ BOOL MRSyncShouldHoldVideoFrame(CMTime timestamp) {
71
71
  }
72
72
 
73
73
  CMTime elapsed = CMTimeSubtract(timestamp, g_videoFirstTimestamp);
74
- CMTime maxWait = CMTimeMakeWithSeconds(1.5, 600);
74
+ CMTime maxWait = CMTimeMakeWithSeconds(0.25, 600); // Kamera gecikmesini minimumda tut
75
75
  if (CMTIME_COMPARE_INLINE(elapsed, >, maxWait)) {
76
76
  g_audioReady = YES;
77
77
  g_videoFirstTimestamp = kCMTimeInvalid;
@@ -85,9 +85,9 @@ BOOL MRSyncShouldHoldVideoFrame(CMTime timestamp) {
85
85
  });
86
86
 
87
87
  if (logHold) {
88
- MRLog(@"⏸️ Video pipeline waiting for audio to begin (holding frames up to 1.5s)");
88
+ MRLog(@"⏸️ Video pipeline waiting for audio to begin (holding frames up to 0.35s)");
89
89
  } else if (logRelease) {
90
- MRLog(@"▶️ Video pipeline resume forced (audio not detected within 1.5s)");
90
+ MRLog(@"▶️ Video pipeline resume forced (audio not detected within 0.35s)");
91
91
  }
92
92
 
93
93
  return shouldHold;