@apocaliss92/nodelink-js 0.4.6 → 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.
- package/dist/{DiagnosticsTools-UMN4C7SY.js → DiagnosticsTools-HJDH4GPP.js} +2 -2
- package/dist/{chunk-F2Y5U3YP.js → chunk-VBYF3BQX.js} +730 -357
- package/dist/chunk-VBYF3BQX.js.map +1 -0
- package/dist/{chunk-TR3V5FTO.js → chunk-YKKQDUKU.js} +3 -3
- package/dist/{chunk-TR3V5FTO.js.map → chunk-YKKQDUKU.js.map} +1 -1
- package/dist/cli/rtsp-server.cjs +696 -325
- package/dist/cli/rtsp-server.cjs.map +1 -1
- package/dist/cli/rtsp-server.js +2 -2
- package/dist/index.cjs +946 -351
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +299 -6
- package/dist/index.d.ts +283 -5
- package/dist/index.js +250 -26
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-F2Y5U3YP.js.map +0 -1
- /package/dist/{DiagnosticsTools-UMN4C7SY.js.map → DiagnosticsTools-HJDH4GPP.js.map} +0 -0
|
@@ -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-
|
|
7800
|
+
//# sourceMappingURL=chunk-YKKQDUKU.js.map
|