@apocaliss92/nodelink-js 0.2.2 → 0.2.4
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-FNLGCOVA.js → DiagnosticsTools-2JQRV5FE.js} +2 -2
- package/dist/{chunk-NLTB7GTA.js → chunk-APEEZ4UN.js} +10 -9
- package/dist/{chunk-NLTB7GTA.js.map → chunk-APEEZ4UN.js.map} +1 -1
- package/dist/{chunk-MN7GUZT7.js → chunk-EG5IY3CM.js} +159 -20
- package/dist/chunk-EG5IY3CM.js.map +1 -0
- package/dist/cli/rtsp-server.cjs +164 -24
- package/dist/cli/rtsp-server.cjs.map +1 -1
- package/dist/cli/rtsp-server.js +2 -2
- package/dist/index.cjs +226 -30
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +30 -1
- package/dist/index.d.ts +30 -1
- package/dist/index.js +64 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-MN7GUZT7.js.map +0 -1
- /package/dist/{DiagnosticsTools-FNLGCOVA.js.map → DiagnosticsTools-2JQRV5FE.js.map} +0 -0
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
runMultifocalDiagnosticsConsecutively,
|
|
10
10
|
sampleStreams,
|
|
11
11
|
testChannelStreams
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-APEEZ4UN.js";
|
|
13
13
|
export {
|
|
14
14
|
collectCgiDiagnostics,
|
|
15
15
|
collectMultifocalDiagnostics,
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
sampleStreams,
|
|
23
23
|
testChannelStreams
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=DiagnosticsTools-
|
|
25
|
+
//# sourceMappingURL=DiagnosticsTools-2JQRV5FE.js.map
|
|
@@ -4562,14 +4562,6 @@ var BaichuanVideoStream = class _BaichuanVideoStream extends EventEmitter {
|
|
|
4562
4562
|
this.profile,
|
|
4563
4563
|
{ variant: this.variant, client: this.client }
|
|
4564
4564
|
);
|
|
4565
|
-
if (this.client.getTransport?.() === "udp") {
|
|
4566
|
-
await startPromise;
|
|
4567
|
-
} else {
|
|
4568
|
-
await Promise.race([
|
|
4569
|
-
startPromise,
|
|
4570
|
-
new Promise((resolve) => setTimeout(resolve, 400))
|
|
4571
|
-
]);
|
|
4572
|
-
}
|
|
4573
4565
|
const updateActiveMsgNum = () => {
|
|
4574
4566
|
try {
|
|
4575
4567
|
const getMsgNum = this.api.getActiveVideoMsgNumWithVariant;
|
|
@@ -4579,6 +4571,15 @@ var BaichuanVideoStream = class _BaichuanVideoStream extends EventEmitter {
|
|
|
4579
4571
|
}
|
|
4580
4572
|
};
|
|
4581
4573
|
updateActiveMsgNum();
|
|
4574
|
+
if (this.client.getTransport?.() === "udp") {
|
|
4575
|
+
await startPromise;
|
|
4576
|
+
} else {
|
|
4577
|
+
await Promise.race([
|
|
4578
|
+
startPromise,
|
|
4579
|
+
new Promise((resolve) => setTimeout(resolve, 400))
|
|
4580
|
+
]);
|
|
4581
|
+
}
|
|
4582
|
+
updateActiveMsgNum();
|
|
4582
4583
|
void startPromise.then(() => updateActiveMsgNum()).catch((e) => {
|
|
4583
4584
|
const err = e instanceof Error ? e : new Error(String(e));
|
|
4584
4585
|
this.emitSafeError(err);
|
|
@@ -7350,4 +7351,4 @@ export {
|
|
|
7350
7351
|
parseRecordingFileName,
|
|
7351
7352
|
ReolinkCgiApi
|
|
7352
7353
|
};
|
|
7353
|
-
//# sourceMappingURL=chunk-
|
|
7354
|
+
//# sourceMappingURL=chunk-APEEZ4UN.js.map
|