@camstack/addon-provider-reolink 1.2.144 → 1.2.146
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/BaichuanVideoStream-GFJX465B-D_s-iWc1.mjs +2 -0
- package/dist/BaichuanVideoStream-GFJX465B-EThalnJS.js +3 -0
- package/dist/addon.js +4406 -1257
- package/dist/addon.mjs +4246 -1097
- package/dist/{chunk-ZQFQRCLQ-CR7OOtpp.js → chunk-4KBXJ7U3-BpV_ui8q.js} +8 -1
- package/dist/{chunk-ZQFQRCLQ-BNqCZtSS.mjs → chunk-4KBXJ7U3-CCQfaWmi.mjs} +3 -2
- package/dist/{esm-DMN00Ym_.js → esm-CN7GUrKn.js} +1 -1
- package/dist/{file-type-2wcPb58f.js → file-type-B7IVsSs-.js} +1 -0
- package/package.json +5 -2
- package/dist/BaichuanVideoStream-2M4UO7MB-CB-tIHMA.mjs +0 -2
- package/dist/BaichuanVideoStream-2M4UO7MB-Cqjt1oxu.js +0 -3
- /package/dist/{DiagnosticsTools-GOFDNGAY-9NV95vRN.mjs → DiagnosticsTools-DZ5RWXSM-9NV95vRN.mjs} +0 -0
- /package/dist/{DiagnosticsTools-GOFDNGAY-CD4rRF8a.js → DiagnosticsTools-DZ5RWXSM-CD4rRF8a.js} +0 -0
|
@@ -5,7 +5,7 @@ fs = require_chunk.__toESM(fs, 1);
|
|
|
5
5
|
let path = require("path");
|
|
6
6
|
path = require_chunk.__toESM(path, 1);
|
|
7
7
|
let crypto = require("crypto");
|
|
8
|
-
//#region node_modules/@apocaliss92/nodelink-js/dist/chunk-
|
|
8
|
+
//#region node_modules/@apocaliss92/nodelink-js/dist/chunk-4KBXJ7U3.js
|
|
9
9
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, { get: (a, b) => (typeof require !== "undefined" ? require : a)[b] }) : x)(function(x) {
|
|
10
10
|
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
11
11
|
throw Error("Dynamic require of \"" + x + "\" is not supported");
|
|
@@ -41,6 +41,7 @@ var BC_CLASS_FILE_DOWNLOAD = 25730;
|
|
|
41
41
|
function bcHeaderHasPayloadOffset(messageClass) {
|
|
42
42
|
return messageClass === 25620 || messageClass === 0 || messageClass === 25730;
|
|
43
43
|
}
|
|
44
|
+
var DEFAULT_RECORDING_DOWNLOAD_IDLE_MS = 2e3;
|
|
44
45
|
function md5HexUpper(input) {
|
|
45
46
|
return (0, crypto.createHash)("md5").update(input, "utf8").digest("hex").toUpperCase();
|
|
46
47
|
}
|
|
@@ -2137,6 +2138,12 @@ Object.defineProperty(exports, "BcMediaAnnexBDecoder", {
|
|
|
2137
2138
|
return BcMediaAnnexBDecoder;
|
|
2138
2139
|
}
|
|
2139
2140
|
});
|
|
2141
|
+
Object.defineProperty(exports, "DEFAULT_RECORDING_DOWNLOAD_IDLE_MS", {
|
|
2142
|
+
enumerable: true,
|
|
2143
|
+
get: function() {
|
|
2144
|
+
return DEFAULT_RECORDING_DOWNLOAD_IDLE_MS;
|
|
2145
|
+
}
|
|
2146
|
+
});
|
|
2140
2147
|
Object.defineProperty(exports, "__require", {
|
|
2141
2148
|
enumerable: true,
|
|
2142
2149
|
get: function() {
|
|
@@ -3,7 +3,7 @@ import { EventEmitter } from "events";
|
|
|
3
3
|
import * as fs2 from "fs";
|
|
4
4
|
import * as path2 from "path";
|
|
5
5
|
import { createCipheriv, createDecipheriv, createHash } from "crypto";
|
|
6
|
-
//#region node_modules/@apocaliss92/nodelink-js/dist/chunk-
|
|
6
|
+
//#region node_modules/@apocaliss92/nodelink-js/dist/chunk-4KBXJ7U3.js
|
|
7
7
|
var __require = /* @__PURE__ */ ((x) => typeof __require$1 !== "undefined" ? __require$1 : typeof Proxy !== "undefined" ? new Proxy(x, { get: (a, b) => (typeof __require$1 !== "undefined" ? __require$1 : a)[b] }) : x)(function(x) {
|
|
8
8
|
if (typeof __require$1 !== "undefined") return __require$1.apply(this, arguments);
|
|
9
9
|
throw Error("Dynamic require of \"" + x + "\" is not supported");
|
|
@@ -39,6 +39,7 @@ var BC_CLASS_FILE_DOWNLOAD = 25730;
|
|
|
39
39
|
function bcHeaderHasPayloadOffset(messageClass) {
|
|
40
40
|
return messageClass === 25620 || messageClass === 0 || messageClass === 25730;
|
|
41
41
|
}
|
|
42
|
+
var DEFAULT_RECORDING_DOWNLOAD_IDLE_MS = 2e3;
|
|
42
43
|
function md5HexUpper(input) {
|
|
43
44
|
return createHash("md5").update(input, "utf8").digest("hex").toUpperCase();
|
|
44
45
|
}
|
|
@@ -2081,4 +2082,4 @@ var BaichuanVideoStream = class _BaichuanVideoStream extends EventEmitter {
|
|
|
2081
2082
|
}
|
|
2082
2083
|
};
|
|
2083
2084
|
//#endregion
|
|
2084
|
-
export {
|
|
2085
|
+
export { splitAnnexBToNalPayloads as A, extractSpsFromAnnexB as C, md5StrModern as D, isH265Irap as E, talkTraceLog as M, traceLog as N, normalizeDebugOptions as O, extractPpsFromAnnexB as S, getH265NalType as T, convertToAnnexB as _, BC_MAGIC as a, deriveAesKey as b, BaichuanVideoStream as c, __require as d, aesDecrypt as f, bcHeaderHasPayloadOffset as g, bcEncrypt as h, BC_CLASS_MODERN_24 as i, splitAnnexBToNalPayloads2 as j, recordingsTraceLog as k, BcMediaAnnexBDecoder as l, bcDecrypt as m, BC_CLASS_LEGACY as n, BC_MAGIC_REV as o, aesEncrypt as p, BC_CLASS_MODERN_20 as r, BC_TCP_DEFAULT_PORT as s, BC_CLASS_FILE_DOWNLOAD as t, DEFAULT_RECORDING_DOWNLOAD_IDLE_MS as u, convertToAnnexB2 as v, extractVpsFromAnnexB as w, eventTraceLog as x, debugLog as y };
|
|
@@ -36878,7 +36878,7 @@ function bufferFromArrayBuffer(arrayBuffer) {
|
|
|
36878
36878
|
return buffer;
|
|
36879
36879
|
}
|
|
36880
36880
|
async function detectFileTypeFromBuffer(buffer) {
|
|
36881
|
-
const { fileTypeFromBuffer } = await Promise.resolve().then(() => require("./file-type-
|
|
36881
|
+
const { fileTypeFromBuffer } = await Promise.resolve().then(() => require("./file-type-B7IVsSs-.js"));
|
|
36882
36882
|
return fileTypeFromBuffer(buffer instanceof ArrayBuffer ? buffer : new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength));
|
|
36883
36883
|
}
|
|
36884
36884
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
const require_chunk = require("./chunk-Cek0wNdY.js");
|
|
2
2
|
let node_fs_promises = require("node:fs/promises");
|
|
3
3
|
node_fs_promises = require_chunk.__toESM(node_fs_promises, 1);
|
|
4
|
+
require("node:fs");
|
|
4
5
|
//#region ../../node_modules/strtok3/lib/stream/Errors.js
|
|
5
6
|
var defaultMessages = "End-Of-Stream";
|
|
6
7
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-reolink",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.146",
|
|
4
4
|
"description": "Reolink camera device provider addon for CamStack — native Baichuan protocol",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -68,6 +68,9 @@
|
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
"name": "stream-signals"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "videoclips"
|
|
71
74
|
}
|
|
72
75
|
]
|
|
73
76
|
}
|
|
@@ -88,7 +91,7 @@
|
|
|
88
91
|
"publish:npm": "npm publish --access public"
|
|
89
92
|
},
|
|
90
93
|
"dependencies": {
|
|
91
|
-
"@apocaliss92/nodelink-js": "^0.7.
|
|
94
|
+
"@apocaliss92/nodelink-js": "^0.7.9"
|
|
92
95
|
},
|
|
93
96
|
"peerDependencies": {
|
|
94
97
|
"@camstack/types": "*",
|
/package/dist/{DiagnosticsTools-GOFDNGAY-9NV95vRN.mjs → DiagnosticsTools-DZ5RWXSM-9NV95vRN.mjs}
RENAMED
|
File without changes
|
/package/dist/{DiagnosticsTools-GOFDNGAY-CD4rRF8a.js → DiagnosticsTools-DZ5RWXSM-CD4rRF8a.js}
RENAMED
|
File without changes
|