@camstack/addon-provider-reolink 1.2.146 → 1.2.148
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-FOE2DBVZ-94yIU75L.mjs +2 -0
- package/dist/BaichuanVideoStream-FOE2DBVZ-DJcEkVak.js +3 -0
- package/dist/addon.js +1632 -649
- package/dist/addon.mjs +1473 -490
- package/dist/{chunk-4KBXJ7U3-BpV_ui8q.js → chunk-ZBACPERX-BM6Ll-rh.js} +6 -8
- package/dist/{chunk-4KBXJ7U3-CCQfaWmi.mjs → chunk-ZBACPERX-cDJK1KXE.mjs} +6 -8
- package/package.json +2 -2
- package/dist/BaichuanVideoStream-GFJX465B-D_s-iWc1.mjs +0 -2
- package/dist/BaichuanVideoStream-GFJX465B-EThalnJS.js +0 -3
- /package/dist/{DiagnosticsTools-DZ5RWXSM-9NV95vRN.mjs → DiagnosticsTools-ZC7I7QM6-9NV95vRN.mjs} +0 -0
- /package/dist/{DiagnosticsTools-DZ5RWXSM-CD4rRF8a.js → DiagnosticsTools-ZC7I7QM6-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-ZBACPERX.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");
|
|
@@ -1119,13 +1119,11 @@ var BcMediaAnnexBDecoder = class {
|
|
|
1119
1119
|
if (media.type === "Aac") this.stats.aacPackets++;
|
|
1120
1120
|
else this.stats.adpcmPackets++;
|
|
1121
1121
|
if (this.stats.audioType == null) this.stats.audioType = media.type;
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
});
|
|
1128
|
-
}
|
|
1122
|
+
this.stats.audioBytesOut += audioMedia.data.length;
|
|
1123
|
+
this.onAudioFrame?.({
|
|
1124
|
+
audioType: media.type,
|
|
1125
|
+
data: audioMedia.data
|
|
1126
|
+
});
|
|
1129
1127
|
return;
|
|
1130
1128
|
}
|
|
1131
1129
|
if (media.type !== "Iframe" && media.type !== "Pframe") return;
|
|
@@ -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-ZBACPERX.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");
|
|
@@ -1117,13 +1117,11 @@ var BcMediaAnnexBDecoder = class {
|
|
|
1117
1117
|
if (media.type === "Aac") this.stats.aacPackets++;
|
|
1118
1118
|
else this.stats.adpcmPackets++;
|
|
1119
1119
|
if (this.stats.audioType == null) this.stats.audioType = media.type;
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
});
|
|
1126
|
-
}
|
|
1120
|
+
this.stats.audioBytesOut += audioMedia.data.length;
|
|
1121
|
+
this.onAudioFrame?.({
|
|
1122
|
+
audioType: media.type,
|
|
1123
|
+
data: audioMedia.data
|
|
1124
|
+
});
|
|
1127
1125
|
return;
|
|
1128
1126
|
}
|
|
1129
1127
|
if (media.type !== "Iframe" && media.type !== "Pframe") return;
|
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.148",
|
|
4
4
|
"description": "Reolink camera device provider addon for CamStack — native Baichuan protocol",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"publish:npm": "npm publish --access public"
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
|
-
"@apocaliss92/nodelink-js": "^0.7.
|
|
94
|
+
"@apocaliss92/nodelink-js": "^0.7.10"
|
|
95
95
|
},
|
|
96
96
|
"peerDependencies": {
|
|
97
97
|
"@camstack/types": "*",
|
/package/dist/{DiagnosticsTools-DZ5RWXSM-9NV95vRN.mjs → DiagnosticsTools-ZC7I7QM6-9NV95vRN.mjs}
RENAMED
|
File without changes
|
/package/dist/{DiagnosticsTools-DZ5RWXSM-CD4rRF8a.js → DiagnosticsTools-ZC7I7QM6-CD4rRF8a.js}
RENAMED
|
File without changes
|