@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.
@@ -9,7 +9,7 @@ import {
9
9
  runMultifocalDiagnosticsConsecutively,
10
10
  sampleStreams,
11
11
  testChannelStreams
12
- } from "./chunk-NLTB7GTA.js";
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-FNLGCOVA.js.map
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-NLTB7GTA.js.map
7354
+ //# sourceMappingURL=chunk-APEEZ4UN.js.map