@apocaliss92/nodelink-js 0.4.7 → 0.4.8

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.
@@ -4024,7 +4024,7 @@ var BaichuanVideoStream = class _BaichuanVideoStream extends EventEmitter {
4024
4024
  const allowMsgNum0Fallback = this.acceptAnyStreamType && frame.header.msgNum === 0;
4025
4025
  if (!allowMsgNum0Fallback) {
4026
4026
  const frameCount = this._msgNumMismatchCount = (this._msgNumMismatchCount || 0) + 1;
4027
- if (frameCount <= 5) {
4027
+ if (frameCount <= 5 && this.client.getDebugConfig().general) {
4028
4028
  this.logger?.log(
4029
4029
  `[BaichuanVideoStream] Frame msgNum mismatch: received=${frame.header.msgNum}, expected=${this.activeMsgNum}, channel=${this.channel}, profile=${this.profile}, variant=${this.variant} (frame discarded)`
4030
4030
  );
@@ -4034,7 +4034,7 @@ var BaichuanVideoStream = class _BaichuanVideoStream extends EventEmitter {
4034
4034
  }
4035
4035
  if (!this.acceptAnyStreamType && !this.expectedStreamTypes.has(frame.header.streamType)) {
4036
4036
  const frameCount = this._streamTypeMismatchCount = (this._streamTypeMismatchCount || 0) + 1;
4037
- if (frameCount <= 5) {
4037
+ if (frameCount <= 5 && this.client.getDebugConfig().general) {
4038
4038
  this.logger?.log(
4039
4039
  `[BaichuanVideoStream] Frame streamType mismatch: received=${frame.header.streamType}, expectedAny=[${[
4040
4040
  ...this.expectedStreamTypes
@@ -7797,4 +7797,4 @@ export {
7797
7797
  parseRecordingFileName,
7798
7798
  ReolinkCgiApi
7799
7799
  };
7800
- //# sourceMappingURL=chunk-TR3V5FTO.js.map
7800
+ //# sourceMappingURL=chunk-YKKQDUKU.js.map