@camstack/addon-export-hap 1.1.14 → 1.1.15
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/export-hap.addon.js +7 -42
- package/dist/export-hap.addon.mjs +7 -42
- package/package.json +1 -1
package/dist/export-hap.addon.js
CHANGED
|
@@ -15071,7 +15071,10 @@ var AgentLoadSummarySchema = object({
|
|
|
15071
15071
|
online: boolean(),
|
|
15072
15072
|
load: RunnerLocalLoadSchema,
|
|
15073
15073
|
/** Computed score used by the L2 capacity balancer (lower = less loaded). */
|
|
15074
|
-
score: number()
|
|
15074
|
+
score: number(),
|
|
15075
|
+
/** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
|
|
15076
|
+
* when not yet probed — for the cluster Pipeline table UI (P0.2). */
|
|
15077
|
+
decodeHwaccel: string().nullable()
|
|
15075
15078
|
});
|
|
15076
15079
|
/**
|
|
15077
15080
|
* Aggregate metrics across the whole detection cluster. Replaces the legacy
|
|
@@ -17607,7 +17610,7 @@ var HardwareEncoderIdSchema = _enum([
|
|
|
17607
17610
|
"libx264",
|
|
17608
17611
|
"libx265"
|
|
17609
17612
|
]);
|
|
17610
|
-
|
|
17613
|
+
object({
|
|
17611
17614
|
encoders: array(object({
|
|
17612
17615
|
encoder: HardwareEncoderIdSchema,
|
|
17613
17616
|
codec: _enum(["H264", "H265"]),
|
|
@@ -17626,15 +17629,7 @@ var HardwareEncodersSchema = object({
|
|
|
17626
17629
|
defaultH265: HardwareEncoderIdSchema,
|
|
17627
17630
|
probedAt: number()
|
|
17628
17631
|
});
|
|
17629
|
-
|
|
17630
|
-
* Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
|
|
17631
|
-
* methods the configured ffmpeg binary actually supports (parsed from
|
|
17632
|
-
* `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
|
|
17633
|
-
* egress never spends a spawn on a backend this build cannot offer. Per-stream
|
|
17634
|
-
* decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
|
|
17635
|
-
* software fallback — this only filters out wholly-unsupported backends.
|
|
17636
|
-
*/
|
|
17637
|
-
var HardwareDecodeAccelsSchema = object({
|
|
17632
|
+
object({
|
|
17638
17633
|
methods: array(string()).readonly(),
|
|
17639
17634
|
probedAt: number()
|
|
17640
17635
|
});
|
|
@@ -17697,13 +17692,7 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
17697
17692
|
format: ModelFormatSchema,
|
|
17698
17693
|
reason: string()
|
|
17699
17694
|
});
|
|
17700
|
-
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema)
|
|
17701
|
-
kind: "mutation",
|
|
17702
|
-
auth: "admin"
|
|
17703
|
-
}), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
|
|
17704
|
-
kind: "mutation",
|
|
17705
|
-
auth: "admin"
|
|
17706
|
-
});
|
|
17695
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
|
|
17707
17696
|
var PtzPresetSchema = object({
|
|
17708
17697
|
id: string(),
|
|
17709
17698
|
name: string()
|
|
@@ -21328,30 +21317,6 @@ Object.freeze({
|
|
|
21328
21317
|
addonId: null,
|
|
21329
21318
|
access: "view"
|
|
21330
21319
|
},
|
|
21331
|
-
"platformProbe.getHardwareDecodeAccels": {
|
|
21332
|
-
capName: "platform-probe",
|
|
21333
|
-
capScope: "system",
|
|
21334
|
-
addonId: null,
|
|
21335
|
-
access: "view"
|
|
21336
|
-
},
|
|
21337
|
-
"platformProbe.getHardwareEncoders": {
|
|
21338
|
-
capName: "platform-probe",
|
|
21339
|
-
capScope: "system",
|
|
21340
|
-
addonId: null,
|
|
21341
|
-
access: "view"
|
|
21342
|
-
},
|
|
21343
|
-
"platformProbe.refreshHardwareDecodeAccels": {
|
|
21344
|
-
capName: "platform-probe",
|
|
21345
|
-
capScope: "system",
|
|
21346
|
-
addonId: null,
|
|
21347
|
-
access: "create"
|
|
21348
|
-
},
|
|
21349
|
-
"platformProbe.refreshHardwareEncoders": {
|
|
21350
|
-
capName: "platform-probe",
|
|
21351
|
-
capScope: "system",
|
|
21352
|
-
addonId: null,
|
|
21353
|
-
access: "create"
|
|
21354
|
-
},
|
|
21355
21320
|
"platformProbe.resolveHwAccel": {
|
|
21356
21321
|
capName: "platform-probe",
|
|
21357
21322
|
capScope: "system",
|
|
@@ -15046,7 +15046,10 @@ var AgentLoadSummarySchema = object({
|
|
|
15046
15046
|
online: boolean(),
|
|
15047
15047
|
load: RunnerLocalLoadSchema,
|
|
15048
15048
|
/** Computed score used by the L2 capacity balancer (lower = less loaded). */
|
|
15049
|
-
score: number()
|
|
15049
|
+
score: number(),
|
|
15050
|
+
/** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
|
|
15051
|
+
* when not yet probed — for the cluster Pipeline table UI (P0.2). */
|
|
15052
|
+
decodeHwaccel: string().nullable()
|
|
15050
15053
|
});
|
|
15051
15054
|
/**
|
|
15052
15055
|
* Aggregate metrics across the whole detection cluster. Replaces the legacy
|
|
@@ -17582,7 +17585,7 @@ var HardwareEncoderIdSchema = _enum([
|
|
|
17582
17585
|
"libx264",
|
|
17583
17586
|
"libx265"
|
|
17584
17587
|
]);
|
|
17585
|
-
|
|
17588
|
+
object({
|
|
17586
17589
|
encoders: array(object({
|
|
17587
17590
|
encoder: HardwareEncoderIdSchema,
|
|
17588
17591
|
codec: _enum(["H264", "H265"]),
|
|
@@ -17601,15 +17604,7 @@ var HardwareEncodersSchema = object({
|
|
|
17601
17604
|
defaultH265: HardwareEncoderIdSchema,
|
|
17602
17605
|
probedAt: number()
|
|
17603
17606
|
});
|
|
17604
|
-
|
|
17605
|
-
* Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
|
|
17606
|
-
* methods the configured ffmpeg binary actually supports (parsed from
|
|
17607
|
-
* `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
|
|
17608
|
-
* egress never spends a spawn on a backend this build cannot offer. Per-stream
|
|
17609
|
-
* decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
|
|
17610
|
-
* software fallback — this only filters out wholly-unsupported backends.
|
|
17611
|
-
*/
|
|
17612
|
-
var HardwareDecodeAccelsSchema = object({
|
|
17607
|
+
object({
|
|
17613
17608
|
methods: array(string()).readonly(),
|
|
17614
17609
|
probedAt: number()
|
|
17615
17610
|
});
|
|
@@ -17672,13 +17667,7 @@ var ResolvedInferenceConfigSchema = object({
|
|
|
17672
17667
|
format: ModelFormatSchema,
|
|
17673
17668
|
reason: string()
|
|
17674
17669
|
});
|
|
17675
|
-
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema)
|
|
17676
|
-
kind: "mutation",
|
|
17677
|
-
auth: "admin"
|
|
17678
|
-
}), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
|
|
17679
|
-
kind: "mutation",
|
|
17680
|
-
auth: "admin"
|
|
17681
|
-
});
|
|
17670
|
+
method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
|
|
17682
17671
|
var PtzPresetSchema = object({
|
|
17683
17672
|
id: string(),
|
|
17684
17673
|
name: string()
|
|
@@ -21303,30 +21292,6 @@ Object.freeze({
|
|
|
21303
21292
|
addonId: null,
|
|
21304
21293
|
access: "view"
|
|
21305
21294
|
},
|
|
21306
|
-
"platformProbe.getHardwareDecodeAccels": {
|
|
21307
|
-
capName: "platform-probe",
|
|
21308
|
-
capScope: "system",
|
|
21309
|
-
addonId: null,
|
|
21310
|
-
access: "view"
|
|
21311
|
-
},
|
|
21312
|
-
"platformProbe.getHardwareEncoders": {
|
|
21313
|
-
capName: "platform-probe",
|
|
21314
|
-
capScope: "system",
|
|
21315
|
-
addonId: null,
|
|
21316
|
-
access: "view"
|
|
21317
|
-
},
|
|
21318
|
-
"platformProbe.refreshHardwareDecodeAccels": {
|
|
21319
|
-
capName: "platform-probe",
|
|
21320
|
-
capScope: "system",
|
|
21321
|
-
addonId: null,
|
|
21322
|
-
access: "create"
|
|
21323
|
-
},
|
|
21324
|
-
"platformProbe.refreshHardwareEncoders": {
|
|
21325
|
-
capName: "platform-probe",
|
|
21326
|
-
capScope: "system",
|
|
21327
|
-
addonId: null,
|
|
21328
|
-
access: "create"
|
|
21329
|
-
},
|
|
21330
21295
|
"platformProbe.resolveHwAccel": {
|
|
21331
21296
|
capName: "platform-probe",
|
|
21332
21297
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-hap",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.15",
|
|
4
4
|
"description": "HomeKit (HAP) bridge exporter for CamStack devices. Publishes a bridged accessory per exposed device — MotionSensor in this MVP; Camera/Doorbell/Switch/Light follow.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|