@camstack/addon-provider-dreo 0.1.10 → 0.1.11
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/addon.js +7 -42
- package/dist/addon.mjs +7 -42
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -17934,7 +17934,10 @@ var AgentLoadSummarySchema = object({
|
|
|
17934
17934
|
online: boolean(),
|
|
17935
17935
|
load: RunnerLocalLoadSchema,
|
|
17936
17936
|
/** Computed score used by the L2 capacity balancer (lower = less loaded). */
|
|
17937
|
-
score: number()
|
|
17937
|
+
score: number(),
|
|
17938
|
+
/** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
|
|
17939
|
+
* when not yet probed — for the cluster Pipeline table UI (P0.2). */
|
|
17940
|
+
decodeHwaccel: string().nullable()
|
|
17938
17941
|
});
|
|
17939
17942
|
/**
|
|
17940
17943
|
* Aggregate metrics across the whole detection cluster. Replaces the legacy
|
|
@@ -20470,7 +20473,7 @@ var HardwareEncoderIdSchema = _enum([
|
|
|
20470
20473
|
"libx264",
|
|
20471
20474
|
"libx265"
|
|
20472
20475
|
]);
|
|
20473
|
-
|
|
20476
|
+
object({
|
|
20474
20477
|
encoders: array(object({
|
|
20475
20478
|
encoder: HardwareEncoderIdSchema,
|
|
20476
20479
|
codec: _enum(["H264", "H265"]),
|
|
@@ -20489,15 +20492,7 @@ var HardwareEncodersSchema = object({
|
|
|
20489
20492
|
defaultH265: HardwareEncoderIdSchema,
|
|
20490
20493
|
probedAt: number()
|
|
20491
20494
|
});
|
|
20492
|
-
|
|
20493
|
-
* Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
|
|
20494
|
-
* methods the configured ffmpeg binary actually supports (parsed from
|
|
20495
|
-
* `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
|
|
20496
|
-
* egress never spends a spawn on a backend this build cannot offer. Per-stream
|
|
20497
|
-
* decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
|
|
20498
|
-
* software fallback — this only filters out wholly-unsupported backends.
|
|
20499
|
-
*/
|
|
20500
|
-
var HardwareDecodeAccelsSchema = object({
|
|
20495
|
+
object({
|
|
20501
20496
|
methods: array(string()).readonly(),
|
|
20502
20497
|
probedAt: number()
|
|
20503
20498
|
});
|
|
@@ -20560,13 +20555,7 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
20560
20555
|
format: ModelFormatSchema,
|
|
20561
20556
|
reason: string()
|
|
20562
20557
|
});
|
|
20563
|
-
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema)
|
|
20564
|
-
kind: "mutation",
|
|
20565
|
-
auth: "admin"
|
|
20566
|
-
}), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
|
|
20567
|
-
kind: "mutation",
|
|
20568
|
-
auth: "admin"
|
|
20569
|
-
});
|
|
20558
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
|
|
20570
20559
|
var PtzPresetSchema = object({
|
|
20571
20560
|
id: string(),
|
|
20572
20561
|
name: string()
|
|
@@ -24191,30 +24180,6 @@ Object.freeze({
|
|
|
24191
24180
|
addonId: null,
|
|
24192
24181
|
access: "view"
|
|
24193
24182
|
},
|
|
24194
|
-
"platformProbe.getHardwareDecodeAccels": {
|
|
24195
|
-
capName: "platform-probe",
|
|
24196
|
-
capScope: "system",
|
|
24197
|
-
addonId: null,
|
|
24198
|
-
access: "view"
|
|
24199
|
-
},
|
|
24200
|
-
"platformProbe.getHardwareEncoders": {
|
|
24201
|
-
capName: "platform-probe",
|
|
24202
|
-
capScope: "system",
|
|
24203
|
-
addonId: null,
|
|
24204
|
-
access: "view"
|
|
24205
|
-
},
|
|
24206
|
-
"platformProbe.refreshHardwareDecodeAccels": {
|
|
24207
|
-
capName: "platform-probe",
|
|
24208
|
-
capScope: "system",
|
|
24209
|
-
addonId: null,
|
|
24210
|
-
access: "create"
|
|
24211
|
-
},
|
|
24212
|
-
"platformProbe.refreshHardwareEncoders": {
|
|
24213
|
-
capName: "platform-probe",
|
|
24214
|
-
capScope: "system",
|
|
24215
|
-
addonId: null,
|
|
24216
|
-
access: "create"
|
|
24217
|
-
},
|
|
24218
24183
|
"platformProbe.resolveHwAccel": {
|
|
24219
24184
|
capName: "platform-probe",
|
|
24220
24185
|
capScope: "system",
|
package/dist/addon.mjs
CHANGED
|
@@ -17935,7 +17935,10 @@ var AgentLoadSummarySchema = object({
|
|
|
17935
17935
|
online: boolean(),
|
|
17936
17936
|
load: RunnerLocalLoadSchema,
|
|
17937
17937
|
/** Computed score used by the L2 capacity balancer (lower = less loaded). */
|
|
17938
|
-
score: number()
|
|
17938
|
+
score: number(),
|
|
17939
|
+
/** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
|
|
17940
|
+
* when not yet probed — for the cluster Pipeline table UI (P0.2). */
|
|
17941
|
+
decodeHwaccel: string().nullable()
|
|
17939
17942
|
});
|
|
17940
17943
|
/**
|
|
17941
17944
|
* Aggregate metrics across the whole detection cluster. Replaces the legacy
|
|
@@ -20471,7 +20474,7 @@ var HardwareEncoderIdSchema = _enum([
|
|
|
20471
20474
|
"libx264",
|
|
20472
20475
|
"libx265"
|
|
20473
20476
|
]);
|
|
20474
|
-
|
|
20477
|
+
object({
|
|
20475
20478
|
encoders: array(object({
|
|
20476
20479
|
encoder: HardwareEncoderIdSchema,
|
|
20477
20480
|
codec: _enum(["H264", "H265"]),
|
|
@@ -20490,15 +20493,7 @@ var HardwareEncodersSchema = object({
|
|
|
20490
20493
|
defaultH265: HardwareEncoderIdSchema,
|
|
20491
20494
|
probedAt: number()
|
|
20492
20495
|
});
|
|
20493
|
-
|
|
20494
|
-
* Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
|
|
20495
|
-
* methods the configured ffmpeg binary actually supports (parsed from
|
|
20496
|
-
* `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
|
|
20497
|
-
* egress never spends a spawn on a backend this build cannot offer. Per-stream
|
|
20498
|
-
* decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
|
|
20499
|
-
* software fallback — this only filters out wholly-unsupported backends.
|
|
20500
|
-
*/
|
|
20501
|
-
var HardwareDecodeAccelsSchema = object({
|
|
20496
|
+
object({
|
|
20502
20497
|
methods: array(string()).readonly(),
|
|
20503
20498
|
probedAt: number()
|
|
20504
20499
|
});
|
|
@@ -20561,13 +20556,7 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
20561
20556
|
format: ModelFormatSchema,
|
|
20562
20557
|
reason: string()
|
|
20563
20558
|
});
|
|
20564
|
-
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema)
|
|
20565
|
-
kind: "mutation",
|
|
20566
|
-
auth: "admin"
|
|
20567
|
-
}), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
|
|
20568
|
-
kind: "mutation",
|
|
20569
|
-
auth: "admin"
|
|
20570
|
-
});
|
|
20559
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
|
|
20571
20560
|
var PtzPresetSchema = object({
|
|
20572
20561
|
id: string(),
|
|
20573
20562
|
name: string()
|
|
@@ -24192,30 +24181,6 @@ Object.freeze({
|
|
|
24192
24181
|
addonId: null,
|
|
24193
24182
|
access: "view"
|
|
24194
24183
|
},
|
|
24195
|
-
"platformProbe.getHardwareDecodeAccels": {
|
|
24196
|
-
capName: "platform-probe",
|
|
24197
|
-
capScope: "system",
|
|
24198
|
-
addonId: null,
|
|
24199
|
-
access: "view"
|
|
24200
|
-
},
|
|
24201
|
-
"platformProbe.getHardwareEncoders": {
|
|
24202
|
-
capName: "platform-probe",
|
|
24203
|
-
capScope: "system",
|
|
24204
|
-
addonId: null,
|
|
24205
|
-
access: "view"
|
|
24206
|
-
},
|
|
24207
|
-
"platformProbe.refreshHardwareDecodeAccels": {
|
|
24208
|
-
capName: "platform-probe",
|
|
24209
|
-
capScope: "system",
|
|
24210
|
-
addonId: null,
|
|
24211
|
-
access: "create"
|
|
24212
|
-
},
|
|
24213
|
-
"platformProbe.refreshHardwareEncoders": {
|
|
24214
|
-
capName: "platform-probe",
|
|
24215
|
-
capScope: "system",
|
|
24216
|
-
addonId: null,
|
|
24217
|
-
access: "create"
|
|
24218
|
-
},
|
|
24219
24184
|
"platformProbe.resolveHwAccel": {
|
|
24220
24185
|
capName: "platform-probe",
|
|
24221
24186
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-dreo",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.11",
|
|
4
4
|
"description": "Dreo smart-device (fan / air-circulator / purifier / heater / humidifier) device-provider addon for CamStack — wraps the @apocaliss92/nodedreo Dreo cloud client (REST + WebSocket)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|