@apocaliss92/nodelink-js 0.3.9 → 0.4.1
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-DQDDBRM6.js → DiagnosticsTools-XIIYZDXL.js} +6 -2
- package/dist/{chunk-6Q6MK4WG.js → chunk-DUHWTZ7U.js} +286 -25
- package/dist/chunk-DUHWTZ7U.js.map +1 -0
- package/dist/{chunk-OGIKBDON.js → chunk-SDRNJQ5U.js} +5 -5
- package/dist/chunk-SDRNJQ5U.js.map +1 -0
- package/dist/cli/rtsp-server.cjs +287 -26
- package/dist/cli/rtsp-server.cjs.map +1 -1
- package/dist/cli/rtsp-server.js +2 -2
- package/dist/index.cjs +291 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +26 -1
- package/dist/index.d.ts +27 -0
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-6Q6MK4WG.js.map +0 -1
- package/dist/chunk-OGIKBDON.js.map +0 -1
- /package/dist/{DiagnosticsTools-DQDDBRM6.js.map → DiagnosticsTools-XIIYZDXL.js.map} +0 -0
|
@@ -144,7 +144,7 @@ import {
|
|
|
144
144
|
talkTraceLog,
|
|
145
145
|
traceLog,
|
|
146
146
|
xmlEscape
|
|
147
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-DUHWTZ7U.js";
|
|
148
148
|
|
|
149
149
|
// src/protocol/framing.ts
|
|
150
150
|
function encodeHeader(h) {
|
|
@@ -7555,7 +7555,7 @@ function computeDeviceCapabilities(params) {
|
|
|
7555
7555
|
const ptzControlRaw = supportItem ? supportItem.ptzControl : void 0;
|
|
7556
7556
|
const supportExplicitlyDefinesPtz = ptzTypeRaw !== void 0 || ptzControlRaw !== void 0;
|
|
7557
7557
|
const ptzExplicitlyDisabledBySupportItem = supportExplicitlyDefinesPtz && !isTruthyNumberLike(ptzTypeRaw) && !isTruthyNumberLike(ptzControlRaw);
|
|
7558
|
-
const hasPtzFromSupportItem = isTruthyNumberLike(ptzTypeRaw)
|
|
7558
|
+
const hasPtzFromSupportItem = isTruthyNumberLike(ptzTypeRaw);
|
|
7559
7559
|
const ptzDisabledBySupport = (ptzMode === "none" || ptzMode === "0") && !hasPtzFromSupportItem;
|
|
7560
7560
|
const hasBatteryFromSupport = supportItem ? isTruthyNumberLike(supportItem.battery) : false;
|
|
7561
7561
|
const ptzPresetRaw = supportItem ? supportItem.ptzPreset : void 0;
|
|
@@ -17818,7 +17818,7 @@ ${xml}`
|
|
|
17818
17818
|
* @returns Test results for all stream types and profiles
|
|
17819
17819
|
*/
|
|
17820
17820
|
async testChannelStreams(channel, logger) {
|
|
17821
|
-
const { testChannelStreams } = await import("./DiagnosticsTools-
|
|
17821
|
+
const { testChannelStreams } = await import("./DiagnosticsTools-XIIYZDXL.js");
|
|
17822
17822
|
return await testChannelStreams({
|
|
17823
17823
|
api: this,
|
|
17824
17824
|
channel: this.normalizeChannel(channel),
|
|
@@ -17834,7 +17834,7 @@ ${xml}`
|
|
|
17834
17834
|
* @returns Complete diagnostics for all channels and streams
|
|
17835
17835
|
*/
|
|
17836
17836
|
async collectMultifocalDiagnostics(logger) {
|
|
17837
|
-
const { collectMultifocalDiagnostics } = await import("./DiagnosticsTools-
|
|
17837
|
+
const { collectMultifocalDiagnostics } = await import("./DiagnosticsTools-XIIYZDXL.js");
|
|
17838
17838
|
return await collectMultifocalDiagnostics({
|
|
17839
17839
|
api: this,
|
|
17840
17840
|
logger
|
|
@@ -21516,4 +21516,4 @@ export {
|
|
|
21516
21516
|
isTcpFailureThatShouldFallbackToUdp,
|
|
21517
21517
|
autoDetectDeviceType
|
|
21518
21518
|
};
|
|
21519
|
-
//# sourceMappingURL=chunk-
|
|
21519
|
+
//# sourceMappingURL=chunk-SDRNJQ5U.js.map
|