@camstack/addon-pipeline 1.1.34 → 1.1.35
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/assets/reference-audio/dog-bark.wav +0 -0
- package/assets/reference-audio/meow.wav +0 -0
- package/assets/reference-audio/silence.wav +0 -0
- package/assets/reference-audio/siren.wav +0 -0
- package/assets/reference-audio/speech.wav +0 -0
- package/assets/reference-audio/synthetic-alarm.wav +0 -0
- package/assets/reference-audio/synthetic-bark.wav +0 -0
- package/assets/reference-audio/synthetic-cry.wav +0 -0
- package/assets/reference-audio/synthetic-speech.wav +0 -0
- package/assets/reference-images/1-bird.jpg +0 -0
- package/assets/reference-images/1-car-plate.jpg +0 -0
- package/assets/reference-images/2-birds.jpg +0 -0
- package/assets/reference-images/2-cars-plates.jpg +0 -0
- package/assets/reference-images/3-persons.jpg +0 -0
- package/assets/reference-images/README.md +16 -0
- package/assets/reference-images/animals-group.jpg +0 -0
- package/assets/reference-images/ground-truth/1-bird.json +22 -0
- package/assets/reference-images/ground-truth/1-car-plate.json +85 -0
- package/assets/reference-images/ground-truth/2-birds.json +35 -0
- package/assets/reference-images/ground-truth/2-cars-plates.json +137 -0
- package/assets/reference-images/ground-truth/3-persons.json +186 -0
- package/assets/reference-images/ground-truth/animals-group.json +87 -0
- package/assets/reference-images/ground-truth/persons-cars-animal.json +136 -0
- package/assets/reference-images/ground-truth/sinner.json +73 -0
- package/assets/reference-images/persons-cars-animal.jpg +0 -0
- package/assets/reference-images/sinner.jpg +0 -0
- package/dist/audio-analyzer/index.js +1 -1
- package/dist/audio-analyzer/index.mjs +1 -1
- package/dist/audio-codec-ffmpeg/index.js +1 -1
- package/dist/audio-codec-ffmpeg/index.mjs +1 -1
- package/dist/detection-pipeline/index.js +3 -1
- package/dist/detection-pipeline/index.mjs +3 -1
- package/dist/{dist-CfSORkv2.mjs → dist-BESCfHIV.mjs} +35 -128
- package/dist/{dist-BrIE85BG.js → dist-BZBQc2QZ.js} +34 -145
- package/dist/{frame-handle-plane-C05rq9Zs.mjs → frame-handle-plane-CYtnVPIg.mjs} +1 -1
- package/dist/{frame-handle-plane-zMju9vmk.js → frame-handle-plane-ChjxN8oI.js} +1 -1
- package/dist/motion-wasm/index.js +1 -1
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/pipeline-runner/index.js +2 -2
- package/dist/pipeline-runner/index.mjs +2 -2
- package/dist/recorder/index.js +1 -1
- package/dist/recorder/index.mjs +1 -1
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-DPFAbcUo.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-B0wZ-iCZ.mjs} +2 -2
- package/dist/stream-broker/{hostInit-C8slrxw1.mjs → hostInit-DuzG6QmV.mjs} +2 -2
- package/dist/stream-broker/index.js +133 -18
- package/dist/stream-broker/index.mjs +119 -4
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/embed-dist/assets/{MaskShapeCanvas-DI4BY7W2-WUVfFzT-.js → MaskShapeCanvas-DI4BY7W2-BL-S3O0Z.js} +1 -1
- package/embed-dist/assets/{MotionZonesSettings-NcxxQN8r-CF7FXXLs.js → MotionZonesSettings-NcxxQN8r-DcnKZAt6.js} +1 -1
- package/embed-dist/assets/{PrivacyMaskSettings-APgPLF7p-qQCpVob3.js → PrivacyMaskSettings-APgPLF7p-DQ0MK5T9.js} +1 -1
- package/embed-dist/assets/{index-BNhisVUZ.js → index-BCGUC-8v.js} +7 -7
- package/embed-dist/index.html +1 -1
- package/package.json +3 -57
- package/dist/decoder-ffmpeg/index.js +0 -1114
- package/dist/decoder-ffmpeg/index.mjs +0 -1097
- package/dist/decoder-nodeav/index.js +0 -1422
- package/dist/decoder-nodeav/index.mjs +0 -1414
- package/dist/ffmpeg-args-CpeRWwL4.mjs +0 -326
- package/dist/ffmpeg-args-Dl9mLcOC.js +0 -421
- package/dist/frame-dropper-AjheBGMG.mjs +0 -22
- package/dist/frame-dropper-DKLM6pMz.js +0 -27
- package/dist/frame-ring-sink-1aLGcNNf.mjs +0 -557
- package/dist/frame-ring-sink-CvlcAUOu.js +0 -604
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
{
|
|
2
|
+
"image": "persons-cars-animal.jpg",
|
|
3
|
+
"width": 1280,
|
|
4
|
+
"height": 853,
|
|
5
|
+
"generatedAt": "2026-04-11T07:13:40.128Z",
|
|
6
|
+
"engine": "python+coreml",
|
|
7
|
+
"annotations": [
|
|
8
|
+
{
|
|
9
|
+
"id": "d1",
|
|
10
|
+
"kind": "first-level",
|
|
11
|
+
"macroClass": "vehicle",
|
|
12
|
+
"score": 0.896,
|
|
13
|
+
"bbox": {
|
|
14
|
+
"x": 89.2,
|
|
15
|
+
"y": 353.5,
|
|
16
|
+
"width": 414.1,
|
|
17
|
+
"height": 247.5
|
|
18
|
+
},
|
|
19
|
+
"labels": []
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"id": "d2",
|
|
23
|
+
"kind": "first-level",
|
|
24
|
+
"macroClass": "person",
|
|
25
|
+
"score": 0.892,
|
|
26
|
+
"bbox": {
|
|
27
|
+
"x": 695.2,
|
|
28
|
+
"y": 273.3,
|
|
29
|
+
"width": 168.39999999999998,
|
|
30
|
+
"height": 466.59999999999997
|
|
31
|
+
},
|
|
32
|
+
"labels": [
|
|
33
|
+
{
|
|
34
|
+
"label": "embedding:512d",
|
|
35
|
+
"score": 1,
|
|
36
|
+
"detectionId": "d3"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "d4",
|
|
42
|
+
"kind": "first-level",
|
|
43
|
+
"macroClass": "person",
|
|
44
|
+
"score": 0.866,
|
|
45
|
+
"bbox": {
|
|
46
|
+
"x": 453.9,
|
|
47
|
+
"y": 312.2,
|
|
48
|
+
"width": 129.70000000000005,
|
|
49
|
+
"height": 466.3
|
|
50
|
+
},
|
|
51
|
+
"labels": [
|
|
52
|
+
{
|
|
53
|
+
"label": "embedding:512d",
|
|
54
|
+
"score": 1,
|
|
55
|
+
"detectionId": "d5"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "d6",
|
|
61
|
+
"kind": "first-level",
|
|
62
|
+
"macroClass": "person",
|
|
63
|
+
"score": 0.818,
|
|
64
|
+
"bbox": {
|
|
65
|
+
"x": 556.2,
|
|
66
|
+
"y": 275.8,
|
|
67
|
+
"width": 154.5,
|
|
68
|
+
"height": 510.40000000000003
|
|
69
|
+
},
|
|
70
|
+
"labels": [
|
|
71
|
+
{
|
|
72
|
+
"label": "embedding:512d",
|
|
73
|
+
"score": 1,
|
|
74
|
+
"detectionId": "d7"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"id": "d3",
|
|
80
|
+
"kind": "detail",
|
|
81
|
+
"macroClass": "face",
|
|
82
|
+
"score": 0.857,
|
|
83
|
+
"bbox": {
|
|
84
|
+
"x": 774.2,
|
|
85
|
+
"y": 298.5,
|
|
86
|
+
"width": 38.89999999999998,
|
|
87
|
+
"height": 51.200000000000045
|
|
88
|
+
},
|
|
89
|
+
"labels": [
|
|
90
|
+
{
|
|
91
|
+
"label": "embedding:512d",
|
|
92
|
+
"score": 1
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"parentId": "d2"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"id": "d5",
|
|
99
|
+
"kind": "detail",
|
|
100
|
+
"macroClass": "face",
|
|
101
|
+
"score": 0.871,
|
|
102
|
+
"bbox": {
|
|
103
|
+
"x": 517.4,
|
|
104
|
+
"y": 333.7,
|
|
105
|
+
"width": 39.700000000000045,
|
|
106
|
+
"height": 49.30000000000001
|
|
107
|
+
},
|
|
108
|
+
"labels": [
|
|
109
|
+
{
|
|
110
|
+
"label": "embedding:512d",
|
|
111
|
+
"score": 1
|
|
112
|
+
}
|
|
113
|
+
],
|
|
114
|
+
"parentId": "d4"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"id": "d7",
|
|
118
|
+
"kind": "detail",
|
|
119
|
+
"macroClass": "face",
|
|
120
|
+
"score": 0.775,
|
|
121
|
+
"bbox": {
|
|
122
|
+
"x": 569,
|
|
123
|
+
"y": 297.40000000000003,
|
|
124
|
+
"width": 50.90000000000009,
|
|
125
|
+
"height": 51.599999999999966
|
|
126
|
+
},
|
|
127
|
+
"labels": [
|
|
128
|
+
{
|
|
129
|
+
"label": "embedding:512d",
|
|
130
|
+
"score": 1
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"parentId": "d6"
|
|
134
|
+
}
|
|
135
|
+
]
|
|
136
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"image": "sinner.jpg",
|
|
3
|
+
"width": 1920,
|
|
4
|
+
"height": 1080,
|
|
5
|
+
"generatedAt": "2026-04-11T07:13:40.281Z",
|
|
6
|
+
"engine": "python+coreml",
|
|
7
|
+
"annotations": [
|
|
8
|
+
{
|
|
9
|
+
"id": "d1",
|
|
10
|
+
"kind": "first-level",
|
|
11
|
+
"macroClass": "person",
|
|
12
|
+
"score": 0.948,
|
|
13
|
+
"bbox": {
|
|
14
|
+
"x": 437.8,
|
|
15
|
+
"y": 11.2,
|
|
16
|
+
"width": 1194.4,
|
|
17
|
+
"height": 1057.6
|
|
18
|
+
},
|
|
19
|
+
"labels": [
|
|
20
|
+
{
|
|
21
|
+
"label": "embedding:512d",
|
|
22
|
+
"score": 1,
|
|
23
|
+
"detectionId": "d2"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "d3",
|
|
29
|
+
"kind": "first-level",
|
|
30
|
+
"macroClass": "tennis racket",
|
|
31
|
+
"score": 0.894,
|
|
32
|
+
"bbox": {
|
|
33
|
+
"x": 124.3,
|
|
34
|
+
"y": 452.8,
|
|
35
|
+
"width": 474.59999999999997,
|
|
36
|
+
"height": 202.49999999999994
|
|
37
|
+
},
|
|
38
|
+
"labels": []
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"id": "d4",
|
|
42
|
+
"kind": "first-level",
|
|
43
|
+
"macroClass": "sports ball",
|
|
44
|
+
"score": 0.755,
|
|
45
|
+
"bbox": {
|
|
46
|
+
"x": 178.2,
|
|
47
|
+
"y": 533.1,
|
|
48
|
+
"width": 53.30000000000001,
|
|
49
|
+
"height": 53.19999999999993
|
|
50
|
+
},
|
|
51
|
+
"labels": []
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"id": "d2",
|
|
55
|
+
"kind": "detail",
|
|
56
|
+
"macroClass": "face",
|
|
57
|
+
"score": 0.852,
|
|
58
|
+
"bbox": {
|
|
59
|
+
"x": 971.9000000000001,
|
|
60
|
+
"y": 83.10000000000001,
|
|
61
|
+
"width": 104.5,
|
|
62
|
+
"height": 126.39999999999999
|
|
63
|
+
},
|
|
64
|
+
"labels": [
|
|
65
|
+
{
|
|
66
|
+
"label": "embedding:512d",
|
|
67
|
+
"score": 1
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"parentId": "d1"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
Binary file
|
|
Binary file
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_model_download_service_C_IHWnXx = require("../model-download-service-C-IHWnXx-DxM2DSns.js");
|
|
6
|
-
const require_dist = require("../dist-
|
|
6
|
+
const require_dist = require("../dist-BZBQc2QZ.js");
|
|
7
7
|
const require_node_topology_platform = require("../node-topology-platform-CFZ7F4xW.js");
|
|
8
8
|
let node_fs = require("node:fs");
|
|
9
9
|
node_fs = require_model_download_service_C_IHWnXx.__toESM(node_fs);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __require } from "../chunk-BdkLduGY.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { L as errMsg, R as BaseAddon, W as hydrateSchema, h as audioAnalyzerCapability, l as HF_BASE_URL, m as audioAnalysisCapability, n as AUDIO_BACKEND_CHOICES, o as DEFAULT_AUDIO_ANALYZER_CONFIG, w as mapAudioLabelToMacro } from "../dist-BESCfHIV.mjs";
|
|
3
3
|
import { t as pickNodePlatformArch } from "../node-topology-platform-BkR_k6WT.mjs";
|
|
4
4
|
import { r as downloadFile } from "../model-download-service-C-IHWnXx-BPy6aoAx.mjs";
|
|
5
5
|
import * as fs from "node:fs";
|
|
@@ -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-BZBQc2QZ.js");
|
|
6
6
|
let node_crypto = require("node:crypto");
|
|
7
7
|
let node_child_process = require("node:child_process");
|
|
8
8
|
//#region src/audio-codec-ffmpeg/ffmpeg-audio-process.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { L as errMsg, R as BaseAddon, g as audioCodecCapability } from "../dist-BESCfHIV.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { spawn } from "node:child_process";
|
|
4
4
|
//#region src/audio-codec-ffmpeg/ffmpeg-audio-process.ts
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
|
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
5
|
const require_model_download_service_C_IHWnXx = require("../model-download-service-C-IHWnXx-DxM2DSns.js");
|
|
6
|
-
const require_dist = require("../dist-
|
|
6
|
+
const require_dist = require("../dist-BZBQc2QZ.js");
|
|
7
7
|
const require_node_topology_platform = require("../node-topology-platform-CFZ7F4xW.js");
|
|
8
8
|
let _camstack_shm_ring = require("@camstack/shm-ring");
|
|
9
9
|
let node_fs = require("node:fs");
|
|
@@ -4359,6 +4359,7 @@ function resolveReferenceAudioDir() {
|
|
|
4359
4359
|
return [
|
|
4360
4360
|
node_path.resolve(__dirname, "assets/reference-audio"),
|
|
4361
4361
|
node_path.resolve(__dirname, "../assets/reference-audio"),
|
|
4362
|
+
node_path.resolve(__dirname, "../../assets/reference-audio"),
|
|
4362
4363
|
node_path.resolve(__dirname, "../../../assets/reference-audio"),
|
|
4363
4364
|
node_path.resolve(process.cwd(), "assets/reference-audio"),
|
|
4364
4365
|
node_path.resolve(process.cwd(), "../assets/reference-audio"),
|
|
@@ -6018,6 +6019,7 @@ var DetectionPipelineProvider = class DetectionPipelineProvider {
|
|
|
6018
6019
|
return [
|
|
6019
6020
|
node_path.resolve(__dirname, "assets/reference-images"),
|
|
6020
6021
|
node_path.resolve(__dirname, "../assets/reference-images"),
|
|
6022
|
+
node_path.resolve(__dirname, "../../assets/reference-images"),
|
|
6021
6023
|
node_path.resolve(__dirname, "../../../assets/reference-images"),
|
|
6022
6024
|
node_path.resolve(process.cwd(), "assets/reference-images"),
|
|
6023
6025
|
node_path.resolve(process.cwd(), "../assets/reference-images"),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __require } from "../chunk-BdkLduGY.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { C as hfModelUrl, F as supportedRuntimes$1, H as EventCategory, L as errMsg, M as runtimeDevices$1, R as BaseAddon, S as evaluateZoneRules, U as createEvent, W as hydrateSchema, X as sleep, a as COCO_TO_MACRO, f as YAMNET_TO_MACRO, i as COCO_80_LABELS, k as pipelineExecutorCapability, q as parseJsonUnknown, r as AUDIO_MACRO_LABELS, t as APPLE_SA_TO_MACRO, x as detectionPipelineCapability, y as defaultDeviceFor$1 } from "../dist-BESCfHIV.mjs";
|
|
3
3
|
import { t as pickNodePlatformArch } from "../node-topology-platform-BkR_k6WT.mjs";
|
|
4
4
|
import { a as isModelDownloaded, i as ensureModel, n as deleteModelFromDisk } from "../model-download-service-C-IHWnXx-BPy6aoAx.mjs";
|
|
5
5
|
import { FrameRingReaderCache } from "@camstack/shm-ring";
|
|
@@ -4352,6 +4352,7 @@ function resolveReferenceAudioDir() {
|
|
|
4352
4352
|
return [
|
|
4353
4353
|
path$1.resolve(__dirname, "assets/reference-audio"),
|
|
4354
4354
|
path$1.resolve(__dirname, "../assets/reference-audio"),
|
|
4355
|
+
path$1.resolve(__dirname, "../../assets/reference-audio"),
|
|
4355
4356
|
path$1.resolve(__dirname, "../../../assets/reference-audio"),
|
|
4356
4357
|
path$1.resolve(process.cwd(), "assets/reference-audio"),
|
|
4357
4358
|
path$1.resolve(process.cwd(), "../assets/reference-audio"),
|
|
@@ -6011,6 +6012,7 @@ var DetectionPipelineProvider = class DetectionPipelineProvider {
|
|
|
6011
6012
|
return [
|
|
6012
6013
|
path$1.resolve(__dirname, "assets/reference-images"),
|
|
6013
6014
|
path$1.resolve(__dirname, "../assets/reference-images"),
|
|
6015
|
+
path$1.resolve(__dirname, "../../assets/reference-images"),
|
|
6014
6016
|
path$1.resolve(__dirname, "../../../assets/reference-images"),
|
|
6015
6017
|
path$1.resolve(process.cwd(), "assets/reference-images"),
|
|
6016
6018
|
path$1.resolve(process.cwd(), "../assets/reference-images"),
|
|
@@ -14272,66 +14272,6 @@ var CustomModelDescriptorSchema = object({
|
|
|
14272
14272
|
});
|
|
14273
14273
|
method(_void(), array(CustomModelDescriptorSchema).readonly());
|
|
14274
14274
|
/**
|
|
14275
|
-
* Stable UI option list for the `hwaccel` setting. Decoder addons
|
|
14276
|
-
* reuse this for `globalSettingsSchema()` so the dropdown is
|
|
14277
|
-
* identical everywhere. Order: auto → off → common backends by
|
|
14278
|
-
* platform affinity (macOS, NVIDIA, Intel/AMD, Windows, Linux).
|
|
14279
|
-
*/
|
|
14280
|
-
var HWACCEL_OPTIONS = [
|
|
14281
|
-
{
|
|
14282
|
-
value: "auto",
|
|
14283
|
-
label: "Auto (defer to probed best)"
|
|
14284
|
-
},
|
|
14285
|
-
{
|
|
14286
|
-
value: "none",
|
|
14287
|
-
label: "Off (software)"
|
|
14288
|
-
},
|
|
14289
|
-
{
|
|
14290
|
-
value: "videotoolbox",
|
|
14291
|
-
label: "VideoToolbox (macOS)"
|
|
14292
|
-
},
|
|
14293
|
-
{
|
|
14294
|
-
value: "cuda",
|
|
14295
|
-
label: "CUDA (NVIDIA)"
|
|
14296
|
-
},
|
|
14297
|
-
{
|
|
14298
|
-
value: "nvdec",
|
|
14299
|
-
label: "NVDEC (NVIDIA legacy)"
|
|
14300
|
-
},
|
|
14301
|
-
{
|
|
14302
|
-
value: "vaapi",
|
|
14303
|
-
label: "VAAPI (Linux Intel/AMD)"
|
|
14304
|
-
},
|
|
14305
|
-
{
|
|
14306
|
-
value: "qsv",
|
|
14307
|
-
label: "QuickSync (Intel)"
|
|
14308
|
-
},
|
|
14309
|
-
{
|
|
14310
|
-
value: "d3d11va",
|
|
14311
|
-
label: "D3D11VA (Windows)"
|
|
14312
|
-
},
|
|
14313
|
-
{
|
|
14314
|
-
value: "dxva2",
|
|
14315
|
-
label: "DXVA2 (Windows legacy)"
|
|
14316
|
-
},
|
|
14317
|
-
{
|
|
14318
|
-
value: "amf",
|
|
14319
|
-
label: "AMF (AMD)"
|
|
14320
|
-
},
|
|
14321
|
-
{
|
|
14322
|
-
value: "vdpau",
|
|
14323
|
-
label: "VDPAU (Linux NVIDIA legacy)"
|
|
14324
|
-
},
|
|
14325
|
-
{
|
|
14326
|
-
value: "drm",
|
|
14327
|
-
label: "DRM (Linux generic)"
|
|
14328
|
-
}
|
|
14329
|
-
];
|
|
14330
|
-
var DEFAULT_DECODER_HWACCEL_CONFIG = {
|
|
14331
|
-
hwaccel: "auto",
|
|
14332
|
-
probedBestHwaccel: ""
|
|
14333
|
-
};
|
|
14334
|
-
/**
|
|
14335
14275
|
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
14336
14276
|
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
14337
14277
|
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
@@ -14346,73 +14286,40 @@ var ShmRingStatsSchema = object({
|
|
|
14346
14286
|
getFrameHits: number().int(),
|
|
14347
14287
|
getFrameMisses: number().int()
|
|
14348
14288
|
});
|
|
14349
|
-
|
|
14350
|
-
|
|
14351
|
-
|
|
14352
|
-
|
|
14353
|
-
|
|
14354
|
-
|
|
14355
|
-
|
|
14356
|
-
|
|
14357
|
-
|
|
14358
|
-
|
|
14359
|
-
|
|
14360
|
-
|
|
14361
|
-
|
|
14362
|
-
|
|
14363
|
-
|
|
14364
|
-
|
|
14365
|
-
|
|
14366
|
-
|
|
14367
|
-
|
|
14368
|
-
|
|
14369
|
-
|
|
14370
|
-
|
|
14371
|
-
|
|
14372
|
-
|
|
14373
|
-
|
|
14374
|
-
|
|
14375
|
-
|
|
14376
|
-
|
|
14377
|
-
|
|
14378
|
-
|
|
14379
|
-
|
|
14380
|
-
|
|
14381
|
-
|
|
14382
|
-
|
|
14383
|
-
waitMs: number().optional()
|
|
14384
|
-
}), array(FrameHandleSchema)),
|
|
14385
|
-
getFrame: method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()),
|
|
14386
|
-
getShmStats: method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()),
|
|
14387
|
-
updateConfig: method(object({
|
|
14388
|
-
sessionId: string(),
|
|
14389
|
-
config: DecoderSessionConfigSchema.partial()
|
|
14390
|
-
}), _void()),
|
|
14391
|
-
getStats: method(object({ sessionId: string() }), DecoderStatsSchema),
|
|
14392
|
-
listActiveSessions: method(_void(), array(object({
|
|
14393
|
-
sessionId: string(),
|
|
14394
|
-
codec: string(),
|
|
14395
|
-
outputFormat: string(),
|
|
14396
|
-
createdAtMs: number()
|
|
14397
|
-
})).readonly()),
|
|
14398
|
-
/**
|
|
14399
|
-
* Re-run the host platform-probe for the decoder's hwaccel backend
|
|
14400
|
-
* and write the detected value into the addon's own global
|
|
14401
|
-
* settings (`probedBestHwaccel`). Replaces the legacy per-agent
|
|
14402
|
-
* `pipeline-orchestrator.reprobeAgentHwAccel` — each decoder addon
|
|
14403
|
-
* now owns its own probe.
|
|
14404
|
-
*
|
|
14405
|
-
* Returns the backend the probe picked (`'none'` = software-only
|
|
14406
|
-
* host, otherwise one of `HwAccelBackend`). The operator's
|
|
14407
|
-
* `hwaccel` setting (auto / none / backend) is not touched; only
|
|
14408
|
-
* the `probedBestHwaccel` hint.
|
|
14409
|
-
*/
|
|
14410
|
-
reprobeHwaccel: method(_void(), object({ backend: string() }), {
|
|
14411
|
-
kind: "mutation",
|
|
14412
|
-
auth: "admin"
|
|
14413
|
-
})
|
|
14414
|
-
}
|
|
14415
|
-
};
|
|
14289
|
+
method(object({ codec: string() }), boolean()), method(_void(), object({
|
|
14290
|
+
id: string(),
|
|
14291
|
+
name: string(),
|
|
14292
|
+
isPullMode: boolean().optional(),
|
|
14293
|
+
priority: number().optional()
|
|
14294
|
+
})), method(DecoderSessionConfigSchema, object({
|
|
14295
|
+
sessionId: string(),
|
|
14296
|
+
nodeId: string()
|
|
14297
|
+
})), method(object({ sessionId: string() }), _void()), method(object({
|
|
14298
|
+
sessionId: string(),
|
|
14299
|
+
packet: EncodedPacketSchema
|
|
14300
|
+
}), _void()), method(object({
|
|
14301
|
+
sessionId: string(),
|
|
14302
|
+
url: string()
|
|
14303
|
+
}), _void()), method(object({
|
|
14304
|
+
sessionId: string(),
|
|
14305
|
+
maxCount: number().default(1),
|
|
14306
|
+
waitMs: number().optional()
|
|
14307
|
+
}), array(DecodedFrameSchema)), method(object({
|
|
14308
|
+
sessionId: string(),
|
|
14309
|
+
maxCount: number().default(1),
|
|
14310
|
+
waitMs: number().optional()
|
|
14311
|
+
}), array(FrameHandleSchema)), method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()), method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()), method(object({
|
|
14312
|
+
sessionId: string(),
|
|
14313
|
+
config: DecoderSessionConfigSchema.partial()
|
|
14314
|
+
}), _void()), method(object({ sessionId: string() }), DecoderStatsSchema), method(_void(), array(object({
|
|
14315
|
+
sessionId: string(),
|
|
14316
|
+
codec: string(),
|
|
14317
|
+
outputFormat: string(),
|
|
14318
|
+
createdAtMs: number()
|
|
14319
|
+
})).readonly()), method(_void(), object({ backend: string() }), {
|
|
14320
|
+
kind: "mutation",
|
|
14321
|
+
auth: "admin"
|
|
14322
|
+
});
|
|
14416
14323
|
/**
|
|
14417
14324
|
* detection-pipeline — device-scoped facade over the system
|
|
14418
14325
|
* `pipeline-executor`.
|
|
@@ -24332,4 +24239,4 @@ function defaultDeviceFor(id) {
|
|
|
24332
24239
|
return def(id).defaultDevice;
|
|
24333
24240
|
}
|
|
24334
24241
|
//#endregion
|
|
24335
|
-
export {
|
|
24242
|
+
export { boolean as $, pipelineRunnerCapability as A, DeviceFeature as B, hfModelUrl as C, motionDetectionCapability as D, migrateConfigToBands as E, supportedRuntimes as F, makeProfileBrokerId as G, EventCategory as H, webrtcSessionCapability as I, parseProfileBrokerId as J, makeSourceBrokerId as K, errMsg as L, runtimeDevices as M, storageEvictableCapability as N, nodePin as O, streamBrokerCapability as P, array as Q, BaseAddon as R, evaluateZoneRules as S, maskUrlCredentials as T, createEvent as U, DeviceType as V, hydrateSchema as W, sleep as X, selectAssignedProfileSlots as Y, _enum as Z, cameraStreamsCapability as _, COCO_TO_MACRO as a, record as at, defineCustomActions as b, EncodeProfileSchema as c, RingBuffer as d, discriminatedUnion as et, YAMNET_TO_MACRO as f, audioCodecCapability as g, audioAnalyzerCapability as h, COCO_80_LABELS as i, object as it, recordingCapability as j, pipelineExecutorCapability as k, HF_BASE_URL as l, audioAnalysisCapability as m, AUDIO_BACKEND_CHOICES as n, literal as nt, DEFAULT_AUDIO_ANALYZER_CONFIG as o, string as ot, addonWidgetsSourceCapability as p, parseJsonUnknown as q, AUDIO_MACRO_LABELS as r, number as rt, EVENT_PAD_MS as s, union as st, APPLE_SA_TO_MACRO as t, lazy as tt, RecordingConfigSchema as u, customAction as v, mapAudioLabelToMacro as w, detectionPipelineCapability as x, defaultDeviceFor as y, CAM_PROFILE_ORDER as z };
|