@camstack/addon-pipeline 1.0.5 → 1.0.7
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/audio-analyzer/index.js +6 -7
- package/dist/audio-analyzer/index.mjs +2 -2
- package/dist/audio-codec-nodeav/index.js +1 -1
- package/dist/audio-codec-nodeav/index.mjs +1 -1
- package/dist/decoder-nodeav/index.js +1 -1
- package/dist/decoder-nodeav/index.mjs +1 -1
- package/dist/detection-pipeline/index.js +716 -411
- package/dist/detection-pipeline/index.mjs +706 -399
- package/dist/{dist-CP2uP-D8.mjs → dist-CjrjeaDd.mjs} +1878 -1642
- package/dist/{dist-v0PZCoV-.js → dist-G45MVm6i.js} +1877 -1641
- package/dist/model-download-service-C7AjBsX9-B0ekM6dF.mjs +301 -0
- package/dist/model-download-service-C7AjBsX9-rXY-VFDk.js +358 -0
- package/dist/motion-wasm/index.js +1 -1
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/pipeline-runner/index.js +1 -1
- package/dist/pipeline-runner/index.mjs +1 -1
- package/dist/recorder/index.js +4 -5
- package/dist/recorder/index.mjs +2 -2
- package/dist/stream-broker/_stub.js +2 -2
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-Hzarxdhd.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-Tbqpu0v3.mjs} +3 -3
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-DCsgcqTa.mjs +26 -0
- package/dist/stream-broker/{_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-SlpG44Ip.mjs → _virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-CHcXI1Wf.mjs} +1 -1
- package/dist/stream-broker/{hostInit-BXhCtKAA.mjs → hostInit-tIev5Gd9.mjs} +3 -3
- package/dist/stream-broker/index.js +9 -10
- package/dist/stream-broker/index.mjs +3 -3
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/embed-dist/assets/{MaskShapeCanvas-DI4BY7W2-CQxn6ukH.js → MaskShapeCanvas-DI4BY7W2-C0kKwNX_.js} +1 -1
- package/embed-dist/assets/{MotionZonesSettings-C1EEbk2V-BziDLK12.js → MotionZonesSettings-C1EEbk2V-CYtJc892.js} +1 -1
- package/embed-dist/assets/{PrivacyMaskSettings-APgPLF7p-D3KDk03_.js → PrivacyMaskSettings-APgPLF7p-C2SRtNe6.js} +1 -1
- package/embed-dist/assets/index-B2LRyXWh.js +80 -0
- package/embed-dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/chunk-D6vf50IK.js +0 -28
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-c9YxHYlI.mjs +0 -26
- package/embed-dist/assets/index-CvgJINQE.js +0 -80
|
@@ -2,13 +2,12 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const
|
|
6
|
-
const require_dist = require("../dist-
|
|
5
|
+
const require_model_download_service_C7AjBsX9 = require("../model-download-service-C7AjBsX9-rXY-VFDk.js");
|
|
6
|
+
const require_dist = require("../dist-G45MVm6i.js");
|
|
7
7
|
let node_fs = require("node:fs");
|
|
8
|
-
node_fs =
|
|
8
|
+
node_fs = require_model_download_service_C7AjBsX9.__toESM(node_fs);
|
|
9
9
|
let node_path = require("node:path");
|
|
10
|
-
node_path =
|
|
11
|
-
let _camstack_system = require("@camstack/system");
|
|
10
|
+
node_path = require_model_download_service_C7AjBsX9.__toESM(node_path);
|
|
12
11
|
//#region src/audio-analyzer/audio-pipeline.ts
|
|
13
12
|
/**
|
|
14
13
|
* Create the appropriate audio pipeline.
|
|
@@ -83,7 +82,7 @@ var YamnetPythonPipeline = class {
|
|
|
83
82
|
url: YAMNET_MODEL_URL,
|
|
84
83
|
dest: modelPath
|
|
85
84
|
} });
|
|
86
|
-
await
|
|
85
|
+
await require_model_download_service_C7AjBsX9.downloadFile(YAMNET_MODEL_URL, modelPath);
|
|
87
86
|
this.log.info("YAMNet ONNX model downloaded", { meta: { sizeBytes: node_fs.statSync(modelPath).size } });
|
|
88
87
|
}
|
|
89
88
|
if (!node_fs.existsSync(labelsPath)) {
|
|
@@ -91,7 +90,7 @@ var YamnetPythonPipeline = class {
|
|
|
91
90
|
url: YAMNET_LABELS_URL,
|
|
92
91
|
dest: labelsPath
|
|
93
92
|
} });
|
|
94
|
-
await
|
|
93
|
+
await require_model_download_service_C7AjBsX9.downloadFile(YAMNET_LABELS_URL, labelsPath);
|
|
95
94
|
}
|
|
96
95
|
const pythonDir = resolveAudioPythonDir();
|
|
97
96
|
if (this.installPythonRequirements) await this.installPythonRequirements(node_path.join(pythonDir, "requirements-audio.txt"));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __require } from "../chunk-BdkLduGY.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { F as errMsg, I as BaseAddon, T as mapAudioLabelToMacro, W as hydrateSchema, g as audioAnalyzerCapability, h as audioAnalysisCapability, l as HF_BASE_URL, n as AUDIO_BACKEND_CHOICES, o as DEFAULT_AUDIO_ANALYZER_CONFIG } from "../dist-CjrjeaDd.mjs";
|
|
3
|
+
import { r as downloadFile } from "../model-download-service-C7AjBsX9-B0ekM6dF.mjs";
|
|
3
4
|
import * as fs from "node:fs";
|
|
4
5
|
import * as path$1 from "node:path";
|
|
5
|
-
import { downloadFile } from "@camstack/system";
|
|
6
6
|
//#region src/audio-analyzer/audio-pipeline.ts
|
|
7
7
|
/**
|
|
8
8
|
* Create the appropriate audio pipeline.
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
5
|
+
const require_dist = require("../dist-G45MVm6i.js");
|
|
6
6
|
const require_codec_runtime = require("../codec-runtime-BOk-13PN.js");
|
|
7
7
|
let node_crypto = require("node:crypto");
|
|
8
8
|
//#region src/audio-codec-nodeav/addon/index.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as errMsg, I as BaseAddon, _ as audioCodecCapability } from "../dist-CjrjeaDd.mjs";
|
|
2
2
|
import { t as DecodeRuntime } from "../codec-runtime-BsqlEjPi.mjs";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
//#region src/audio-codec-nodeav/addon/index.ts
|
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_dist = require("../dist-
|
|
5
|
+
const require_dist = require("../dist-G45MVm6i.js");
|
|
6
6
|
let _camstack_shm_ring = require("@camstack/shm-ring");
|
|
7
7
|
let node_crypto = require("node:crypto");
|
|
8
8
|
//#region src/decoder-nodeav/frame-ring-sink.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as errMsg, I as BaseAddon, b as decoderCapability, f as RingBuffer, s as DEFAULT_DECODER_HWACCEL_CONFIG, u as HWACCEL_OPTIONS } from "../dist-CjrjeaDd.mjs";
|
|
2
2
|
import { FrameRingReaderCache, FrameRingWriter, MIN_RING_SLOTS, computeSegmentSize, computeSlotByteLength, createSegment, deriveSlotCount } from "@camstack/shm-ring";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
//#region src/decoder-nodeav/frame-ring-sink.ts
|