@camstack/addon-provider-reolink 1.2.162 → 1.2.164
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-PR2SYJAE-DX1rTJzR.mjs +2 -0
- package/dist/BaichuanVideoStream-PR2SYJAE-JpggQ5Wq.js +3 -0
- package/dist/addon.js +2382 -1419
- package/dist/addon.mjs +2222 -1259
- package/dist/{chunk-OSVYEFMM-Bl0F4OJc.mjs → chunk-XAKOGDFB-BI9G4P5_.mjs} +5 -2
- package/dist/{chunk-OSVYEFMM-Czx77gto.js → chunk-XAKOGDFB-CEh96Ccz.js} +10 -1
- package/package.json +2 -2
- package/dist/BaichuanVideoStream-UG3DIMIE-BRbIHCdL.mjs +0 -2
- package/dist/BaichuanVideoStream-UG3DIMIE-DViuQDJ4.js +0 -3
- /package/dist/{DiagnosticsTools-YIWXO7IJ-9NV95vRN.mjs → DiagnosticsTools-DS5X2UVY-9NV95vRN.mjs} +0 -0
- /package/dist/{DiagnosticsTools-YIWXO7IJ-CD4rRF8a.js → DiagnosticsTools-DS5X2UVY-CD4rRF8a.js} +0 -0
|
@@ -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-XAKOGDFB.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,9 @@ var BC_CLASS_FILE_DOWNLOAD = 25730;
|
|
|
39
39
|
function bcHeaderHasPayloadOffset(messageClass) {
|
|
40
40
|
return messageClass === 25620 || messageClass === 0 || messageClass === 25730;
|
|
41
41
|
}
|
|
42
|
+
function bcHeaderIsKnown20(messageClass) {
|
|
43
|
+
return messageClass === 25876 || messageClass === 26132;
|
|
44
|
+
}
|
|
42
45
|
var DEFAULT_RECORDING_DOWNLOAD_IDLE_MS = 2e3;
|
|
43
46
|
var DEFAULT_REPLAY_STOP_DRAIN_MAX_MS = 4e3;
|
|
44
47
|
function md5HexUpper(input) {
|
|
@@ -2081,4 +2084,4 @@ var BaichuanVideoStream = class _BaichuanVideoStream extends EventEmitter {
|
|
|
2081
2084
|
}
|
|
2082
2085
|
};
|
|
2083
2086
|
//#endregion
|
|
2084
|
-
export {
|
|
2087
|
+
export { normalizeDebugOptions as A, eventTraceLog as C, getH265NalType as D, extractVpsFromAnnexB as E, traceLog as F, splitAnnexBToNalPayloads as M, splitAnnexBToNalPayloads2 as N, isH265Irap as O, talkTraceLog as P, deriveAesKey as S, extractSpsFromAnnexB as T, bcHeaderHasPayloadOffset as _, BC_MAGIC as a, convertToAnnexB2 as b, BaichuanVideoStream as c, DEFAULT_REPLAY_STOP_DRAIN_MAX_MS as d, __require as f, bcEncrypt as g, bcDecrypt as h, BC_CLASS_MODERN_24 as i, recordingsTraceLog as j, md5StrModern as k, BcMediaAnnexBDecoder as l, aesEncrypt as m, BC_CLASS_LEGACY as n, BC_MAGIC_REV as o, aesDecrypt 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, bcHeaderIsKnown20 as v, extractPpsFromAnnexB as w, debugLog as x, convertToAnnexB as y };
|
|
@@ -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-XAKOGDFB.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,9 @@ var BC_CLASS_FILE_DOWNLOAD = 25730;
|
|
|
41
41
|
function bcHeaderHasPayloadOffset(messageClass) {
|
|
42
42
|
return messageClass === 25620 || messageClass === 0 || messageClass === 25730;
|
|
43
43
|
}
|
|
44
|
+
function bcHeaderIsKnown20(messageClass) {
|
|
45
|
+
return messageClass === 25876 || messageClass === 26132;
|
|
46
|
+
}
|
|
44
47
|
var DEFAULT_RECORDING_DOWNLOAD_IDLE_MS = 2e3;
|
|
45
48
|
var DEFAULT_REPLAY_STOP_DRAIN_MAX_MS = 4e3;
|
|
46
49
|
function md5HexUpper(input) {
|
|
@@ -2185,6 +2188,12 @@ Object.defineProperty(exports, "bcHeaderHasPayloadOffset", {
|
|
|
2185
2188
|
return bcHeaderHasPayloadOffset;
|
|
2186
2189
|
}
|
|
2187
2190
|
});
|
|
2191
|
+
Object.defineProperty(exports, "bcHeaderIsKnown20", {
|
|
2192
|
+
enumerable: true,
|
|
2193
|
+
get: function() {
|
|
2194
|
+
return bcHeaderIsKnown20;
|
|
2195
|
+
}
|
|
2196
|
+
});
|
|
2188
2197
|
Object.defineProperty(exports, "convertToAnnexB", {
|
|
2189
2198
|
enumerable: true,
|
|
2190
2199
|
get: function() {
|
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.164",
|
|
4
4
|
"description": "Reolink camera device provider addon for CamStack — native Baichuan protocol",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"publish:npm": "npm publish --access public"
|
|
95
95
|
},
|
|
96
96
|
"dependencies": {
|
|
97
|
-
"@apocaliss92/nodelink-js": "^0.
|
|
97
|
+
"@apocaliss92/nodelink-js": "^0.11.2"
|
|
98
98
|
},
|
|
99
99
|
"peerDependencies": {
|
|
100
100
|
"@camstack/types": "*",
|
/package/dist/{DiagnosticsTools-YIWXO7IJ-9NV95vRN.mjs → DiagnosticsTools-DS5X2UVY-9NV95vRN.mjs}
RENAMED
|
File without changes
|
/package/dist/{DiagnosticsTools-YIWXO7IJ-CD4rRF8a.js → DiagnosticsTools-DS5X2UVY-CD4rRF8a.js}
RENAMED
|
File without changes
|