@apocaliss92/nodelink-js 0.4.16 → 0.4.17
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-BQOWJ23L.js → DiagnosticsTools-HO3VI6D5.js} +2 -2
- package/dist/{chunk-65HTCC62.js → chunk-EF6BCSCZ.js} +24 -6
- package/dist/chunk-EF6BCSCZ.js.map +1 -0
- package/dist/{chunk-2JNXKT3C.js → chunk-S2UTGNFN.js} +83 -4
- package/dist/chunk-S2UTGNFN.js.map +1 -0
- package/dist/cli/rtsp-server.cjs +102 -5
- package/dist/cli/rtsp-server.cjs.map +1 -1
- package/dist/cli/rtsp-server.js +2 -2
- package/dist/index.cjs +102 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-2JNXKT3C.js.map +0 -1
- package/dist/chunk-65HTCC62.js.map +0 -1
- /package/dist/{DiagnosticsTools-BQOWJ23L.js.map → DiagnosticsTools-HO3VI6D5.js.map} +0 -0
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
sampleStreams,
|
|
13
13
|
sanitizeFixtureData,
|
|
14
14
|
testChannelStreams
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-S2UTGNFN.js";
|
|
16
16
|
import "./chunk-C57QV7IL.js";
|
|
17
17
|
export {
|
|
18
18
|
captureModelFixtures,
|
|
@@ -29,4 +29,4 @@ export {
|
|
|
29
29
|
sanitizeFixtureData,
|
|
30
30
|
testChannelStreams
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=DiagnosticsTools-
|
|
32
|
+
//# sourceMappingURL=DiagnosticsTools-HO3VI6D5.js.map
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
runAllDiagnosticsConsecutively,
|
|
31
31
|
runMultifocalDiagnosticsConsecutively,
|
|
32
32
|
xmlEscape
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-S2UTGNFN.js";
|
|
34
34
|
import {
|
|
35
35
|
BC_CLASS_FILE_DOWNLOAD,
|
|
36
36
|
BC_CLASS_LEGACY,
|
|
@@ -10919,7 +10919,15 @@ var applyFloodlightSettingsToXml = (xml, settings) => {
|
|
|
10919
10919
|
// src/reolink/baichuan/ReolinkBaichuanApi.ts
|
|
10920
10920
|
var DUAL_LENS_DUAL_MOTION_MODELS = /* @__PURE__ */ new Set([
|
|
10921
10921
|
"Reolink Duo PoE",
|
|
10922
|
-
"Reolink Duo WiFi"
|
|
10922
|
+
"Reolink Duo WiFi",
|
|
10923
|
+
// Duo 2 family
|
|
10924
|
+
"Reolink Duo 2 PoE",
|
|
10925
|
+
"Reolink Duo 2 WiFi",
|
|
10926
|
+
// Duo 3 family — physically dual-sensor, marketed as a stitched 16MP feed
|
|
10927
|
+
// (the firmware exposes a single logical channel, so callers should still
|
|
10928
|
+
// check `getDualLensChannelInfo` for the actual channel topology).
|
|
10929
|
+
"Reolink Duo 3 PoE",
|
|
10930
|
+
"Reolink Duo 3 WiFi"
|
|
10923
10931
|
]);
|
|
10924
10932
|
var DUAL_LENS_SINGLE_MOTION_MODELS = /* @__PURE__ */ new Set([
|
|
10925
10933
|
"Reolink TrackMix",
|
|
@@ -10934,7 +10942,10 @@ var DUAL_LENS_MODELS = /* @__PURE__ */ new Set([
|
|
|
10934
10942
|
]);
|
|
10935
10943
|
var isDualLenseModel = (model) => {
|
|
10936
10944
|
const lower = model.toLowerCase();
|
|
10937
|
-
|
|
10945
|
+
if (Array.from(DUAL_LENS_MODELS).some((m) => m.toLowerCase() === lower)) {
|
|
10946
|
+
return true;
|
|
10947
|
+
}
|
|
10948
|
+
return lower.includes("trackmix") || lower.includes("trackflex") || /\bduo\b/.test(lower);
|
|
10938
10949
|
};
|
|
10939
10950
|
var NVR_HUB_EXACT_TYPES = ["NVR", "WIFI_NVR", "HOMEHUB"];
|
|
10940
10951
|
var NVR_HUB_MODEL_PATTERNS = [
|
|
@@ -18733,6 +18744,13 @@ ${xml}`
|
|
|
18733
18744
|
model = deviceInfo.type?.trim();
|
|
18734
18745
|
} catch {
|
|
18735
18746
|
}
|
|
18747
|
+
if (!model) {
|
|
18748
|
+
try {
|
|
18749
|
+
const deviceInfoBase = await this.getInfo(void 0, { tags: ["type"] });
|
|
18750
|
+
model = deviceInfoBase.type?.trim();
|
|
18751
|
+
} catch {
|
|
18752
|
+
}
|
|
18753
|
+
}
|
|
18736
18754
|
try {
|
|
18737
18755
|
const capabilities = await this.getDeviceCapabilities(channel);
|
|
18738
18756
|
channelNum = capabilities.support?.channelNum;
|
|
@@ -19438,7 +19456,7 @@ ${xml}`
|
|
|
19438
19456
|
* @returns Test results for all stream types and profiles
|
|
19439
19457
|
*/
|
|
19440
19458
|
async testChannelStreams(channel, logger) {
|
|
19441
|
-
const { testChannelStreams } = await import("./DiagnosticsTools-
|
|
19459
|
+
const { testChannelStreams } = await import("./DiagnosticsTools-HO3VI6D5.js");
|
|
19442
19460
|
return await testChannelStreams({
|
|
19443
19461
|
api: this,
|
|
19444
19462
|
channel: this.normalizeChannel(channel),
|
|
@@ -19454,7 +19472,7 @@ ${xml}`
|
|
|
19454
19472
|
* @returns Complete diagnostics for all channels and streams
|
|
19455
19473
|
*/
|
|
19456
19474
|
async collectMultifocalDiagnostics(logger) {
|
|
19457
|
-
const { collectMultifocalDiagnostics } = await import("./DiagnosticsTools-
|
|
19475
|
+
const { collectMultifocalDiagnostics } = await import("./DiagnosticsTools-HO3VI6D5.js");
|
|
19458
19476
|
return await collectMultifocalDiagnostics({
|
|
19459
19477
|
api: this,
|
|
19460
19478
|
logger
|
|
@@ -23927,4 +23945,4 @@ export {
|
|
|
23927
23945
|
isTcpFailureThatShouldFallbackToUdp,
|
|
23928
23946
|
autoDetectDeviceType
|
|
23929
23947
|
};
|
|
23930
|
-
//# sourceMappingURL=chunk-
|
|
23948
|
+
//# sourceMappingURL=chunk-EF6BCSCZ.js.map
|