@apocaliss92/nodelink-js 0.4.23 → 0.4.24
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/{chunk-P4X5OU25.js → chunk-JYHK2ZSH.js} +3 -2
- package/dist/chunk-JYHK2ZSH.js.map +1 -0
- package/dist/cli/rtsp-server.cjs +2 -1
- package/dist/cli/rtsp-server.cjs.map +1 -1
- package/dist/cli/rtsp-server.js +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-P4X5OU25.js.map +0 -1
|
@@ -8408,9 +8408,10 @@ function parseRectTags(block) {
|
|
|
8408
8408
|
function decodePrivacyMaskZones(xml) {
|
|
8409
8409
|
const canvas = extractCanvasFromShelterXml(xml);
|
|
8410
8410
|
const enable = Number(getXmlText(xml, "enable") ?? "0") === 1;
|
|
8411
|
-
const maxNum = Number(getXmlText(xml, "maxNum") ?? "0") | 0;
|
|
8412
8411
|
const trackEnable = Number(getXmlText(xml, "trackEnable") ?? "0") === 1;
|
|
8413
8412
|
const maxTrackShelterNum = Number(getXmlText(xml, "maxTrackShelterNum") ?? "0") | 0;
|
|
8413
|
+
const rawMaxNum = getXmlText(xml, "maxNum");
|
|
8414
|
+
const maxNum = rawMaxNum !== void 0 ? Number(rawMaxNum) | 0 : maxTrackShelterNum > 0 ? maxTrackShelterNum : 4;
|
|
8414
8415
|
const shelterList = [];
|
|
8415
8416
|
const shelterListBlock = xml.match(
|
|
8416
8417
|
/<shelterList>([\s\S]*?)<\/shelterList>/
|
|
@@ -24508,4 +24509,4 @@ export {
|
|
|
24508
24509
|
isTcpFailureThatShouldFallbackToUdp,
|
|
24509
24510
|
autoDetectDeviceType
|
|
24510
24511
|
};
|
|
24511
|
-
//# sourceMappingURL=chunk-
|
|
24512
|
+
//# sourceMappingURL=chunk-JYHK2ZSH.js.map
|