@camstack/addon-provider-onvif 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/addon.js CHANGED
@@ -15369,7 +15369,10 @@ var AgentLoadSummarySchema = object({
15369
15369
  online: boolean(),
15370
15370
  load: RunnerLocalLoadSchema,
15371
15371
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
15372
- score: number()
15372
+ score: number(),
15373
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
15374
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
15375
+ decodeHwaccel: string().nullable()
15373
15376
  });
15374
15377
  /**
15375
15378
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -17948,7 +17951,7 @@ var HardwareEncoderIdSchema = _enum([
17948
17951
  "libx264",
17949
17952
  "libx265"
17950
17953
  ]);
17951
- var HardwareEncodersSchema = object({
17954
+ object({
17952
17955
  encoders: array(object({
17953
17956
  encoder: HardwareEncoderIdSchema,
17954
17957
  codec: _enum(["H264", "H265"]),
@@ -17967,15 +17970,7 @@ var HardwareEncodersSchema = object({
17967
17970
  defaultH265: HardwareEncoderIdSchema,
17968
17971
  probedAt: number()
17969
17972
  });
17970
- /**
17971
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
17972
- * methods the configured ffmpeg binary actually supports (parsed from
17973
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
17974
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
17975
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
17976
- * software fallback — this only filters out wholly-unsupported backends.
17977
- */
17978
- var HardwareDecodeAccelsSchema = object({
17973
+ object({
17979
17974
  methods: array(string()).readonly(),
17980
17975
  probedAt: number()
17981
17976
  });
@@ -18038,13 +18033,7 @@ var ResolvedInferenceConfigSchema = object({
18038
18033
  format: ModelFormatSchema,
18039
18034
  reason: string()
18040
18035
  });
18041
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
18042
- kind: "mutation",
18043
- auth: "admin"
18044
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
18045
- kind: "mutation",
18046
- auth: "admin"
18047
- });
18036
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
18048
18037
  var PtzPresetSchema = object({
18049
18038
  id: string(),
18050
18039
  name: string()
@@ -21711,30 +21700,6 @@ Object.freeze({
21711
21700
  addonId: null,
21712
21701
  access: "view"
21713
21702
  },
21714
- "platformProbe.getHardwareDecodeAccels": {
21715
- capName: "platform-probe",
21716
- capScope: "system",
21717
- addonId: null,
21718
- access: "view"
21719
- },
21720
- "platformProbe.getHardwareEncoders": {
21721
- capName: "platform-probe",
21722
- capScope: "system",
21723
- addonId: null,
21724
- access: "view"
21725
- },
21726
- "platformProbe.refreshHardwareDecodeAccels": {
21727
- capName: "platform-probe",
21728
- capScope: "system",
21729
- addonId: null,
21730
- access: "create"
21731
- },
21732
- "platformProbe.refreshHardwareEncoders": {
21733
- capName: "platform-probe",
21734
- capScope: "system",
21735
- addonId: null,
21736
- access: "create"
21737
- },
21738
21703
  "platformProbe.resolveHwAccel": {
21739
21704
  capName: "platform-probe",
21740
21705
  capScope: "system",
package/dist/addon.mjs CHANGED
@@ -15370,7 +15370,10 @@ var AgentLoadSummarySchema = object({
15370
15370
  online: boolean(),
15371
15371
  load: RunnerLocalLoadSchema,
15372
15372
  /** Computed score used by the L2 capacity balancer (lower = less loaded). */
15373
- score: number()
15373
+ score: number(),
15374
+ /** This node's decode hwaccel backend (per-node `probedBestHwaccel`), or null
15375
+ * when not yet probed — for the cluster Pipeline table UI (P0.2). */
15376
+ decodeHwaccel: string().nullable()
15374
15377
  });
15375
15378
  /**
15376
15379
  * Aggregate metrics across the whole detection cluster. Replaces the legacy
@@ -17949,7 +17952,7 @@ var HardwareEncoderIdSchema = _enum([
17949
17952
  "libx264",
17950
17953
  "libx265"
17951
17954
  ]);
17952
- var HardwareEncodersSchema = object({
17955
+ object({
17953
17956
  encoders: array(object({
17954
17957
  encoder: HardwareEncoderIdSchema,
17955
17958
  codec: _enum(["H264", "H265"]),
@@ -17968,15 +17971,7 @@ var HardwareEncodersSchema = object({
17968
17971
  defaultH265: HardwareEncoderIdSchema,
17969
17972
  probedAt: number()
17970
17973
  });
17971
- /**
17972
- * Decode-side companion to {@link HardwareEncodersSchema}: the `-hwaccel`
17973
- * methods the configured ffmpeg binary actually supports (parsed from
17974
- * `ffmpeg -hwaccels`). Used to gate decode-hwaccel attempts so the transcode
17975
- * egress never spends a spawn on a backend this build cannot offer. Per-stream
17976
- * decode fragility (e.g. VideoToolbox HEVC) is still handled by the egress's
17977
- * software fallback — this only filters out wholly-unsupported backends.
17978
- */
17979
- var HardwareDecodeAccelsSchema = object({
17974
+ object({
17980
17975
  methods: array(string()).readonly(),
17981
17976
  probedAt: number()
17982
17977
  });
@@ -18039,13 +18034,7 @@ var ResolvedInferenceConfigSchema = object({
18039
18034
  format: ModelFormatSchema,
18040
18035
  reason: string()
18041
18036
  });
18042
- method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema), method(_void(), HardwareEncodersSchema), method(_void(), HardwareEncodersSchema, {
18043
- kind: "mutation",
18044
- auth: "admin"
18045
- }), method(_void(), HardwareDecodeAccelsSchema), method(_void(), HardwareDecodeAccelsSchema, {
18046
- kind: "mutation",
18047
- auth: "admin"
18048
- });
18037
+ method(_void(), PlatformCapabilitiesSchema), method(_void(), HardwareInfoSchema), method(object({ requirements: array(ModelRequirementSchema).readonly() }), ResolvedInferenceConfigSchema), method(object({ prefer: HwAccelBackendInputSchema }), HwAccelResolutionSchema);
18049
18038
  var PtzPresetSchema = object({
18050
18039
  id: string(),
18051
18040
  name: string()
@@ -21712,30 +21701,6 @@ Object.freeze({
21712
21701
  addonId: null,
21713
21702
  access: "view"
21714
21703
  },
21715
- "platformProbe.getHardwareDecodeAccels": {
21716
- capName: "platform-probe",
21717
- capScope: "system",
21718
- addonId: null,
21719
- access: "view"
21720
- },
21721
- "platformProbe.getHardwareEncoders": {
21722
- capName: "platform-probe",
21723
- capScope: "system",
21724
- addonId: null,
21725
- access: "view"
21726
- },
21727
- "platformProbe.refreshHardwareDecodeAccels": {
21728
- capName: "platform-probe",
21729
- capScope: "system",
21730
- addonId: null,
21731
- access: "create"
21732
- },
21733
- "platformProbe.refreshHardwareEncoders": {
21734
- capName: "platform-probe",
21735
- capScope: "system",
21736
- addonId: null,
21737
- access: "create"
21738
- },
21739
21704
  "platformProbe.resolveHwAccel": {
21740
21705
  capName: "platform-probe",
21741
21706
  capScope: "system",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-onvif",
3
- "version": "1.1.14",
3
+ "version": "1.1.15",
4
4
  "description": "ONVIF camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",