@camstack/addon-pipeline 1.2.226 → 1.2.228

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.
Files changed (32) hide show
  1. package/dist/audio-analyzer/index.js +2 -2
  2. package/dist/audio-analyzer/index.mjs +2 -2
  3. package/dist/{default-detection-model-A2qZmOuO.mjs → default-detection-model-C4C723aL.mjs} +1 -1
  4. package/dist/{default-detection-model-BseJDKpG.js → default-detection-model-D0Em2AXV.js} +1 -1
  5. package/dist/detection-pipeline/index.js +4 -4
  6. package/dist/detection-pipeline/index.mjs +4 -4
  7. package/dist/{dist-InCt3_5U.mjs → dist-Dcp-eVbN.mjs} +297 -60
  8. package/dist/{dist-DXilmc1W.js → dist-Dwhv3eOj.js} +297 -60
  9. package/dist/motion-wasm/index.js +1 -1
  10. package/dist/motion-wasm/index.mjs +1 -1
  11. package/dist/{node--Icxw2jo.js → node-CSDLSs7t.js} +1 -1
  12. package/dist/{node-B6Wz_gqK.mjs → node-ClxCG7kX.mjs} +1 -1
  13. package/dist/pipeline-runner/index.js +3 -3
  14. package/dist/pipeline-runner/index.mjs +3 -3
  15. package/dist/{process-memory-DnuJjAW1.mjs → process-memory-CJ9kKdO6.mjs} +1 -1
  16. package/dist/{process-memory-pGbtKNsw.js → process-memory-DYCrYZZl.js} +1 -1
  17. package/dist/recorder/index.js +3 -2
  18. package/dist/recorder/index.mjs +3 -2
  19. package/dist/{segment-demux-js-CB9SGcWW.mjs → segment-demux-js-BWZQJ1AS.mjs} +1 -1
  20. package/dist/{segment-demux-js-jnT5YAxt.js → segment-demux-js-CelIP7H_.js} +1 -1
  21. package/dist/stream-broker/_stub.js +26 -25
  22. package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-D2AmFf2m.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BOpWY0lf.mjs} +3 -3
  23. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Bc-sSkWV.mjs +26 -0
  24. package/dist/stream-broker/{_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-CKUGpDns.mjs → _virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-B84T0KI-.mjs} +1 -1
  25. package/dist/stream-broker/demux-worker-child.js +1 -1
  26. package/dist/stream-broker/demux-worker-child.mjs +1 -1
  27. package/dist/stream-broker/{hostInit-Bs7yHPfB.mjs → hostInit-D79Uznvf.mjs} +3 -3
  28. package/dist/stream-broker/index.js +161 -6
  29. package/dist/stream-broker/index.mjs +161 -6
  30. package/dist/stream-broker/remoteEntry.js +1 -1
  31. package/package.json +2 -2
  32. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-gz4b6miC.mjs +0 -26
@@ -36,7 +36,7 @@ async function r() {
36
36
  }
37
37
  },
38
38
  "@camstack/types": {
39
- version: "1.2.182",
39
+ version: "1.2.188",
40
40
  scope: "default",
41
41
  shareConfig: {
42
42
  singleton: !0,
@@ -45,7 +45,7 @@ async function r() {
45
45
  }
46
46
  },
47
47
  "@camstack/sdk": {
48
- version: "1.2.102",
48
+ version: "1.2.104",
49
49
  scope: "default",
50
50
  shareConfig: {
51
51
  singleton: !0,
@@ -81,7 +81,7 @@ async function r() {
81
81
  }
82
82
  },
83
83
  "@camstack/ui-library": {
84
- version: "1.2.150",
84
+ version: "1.2.153",
85
85
  scope: "default",
86
86
  shareConfig: {
87
87
  singleton: !0,
@@ -3,12 +3,12 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  const require_chunk = require("../chunk-emK7D4bc.js");
6
- const require_dist = require("../dist-DXilmc1W.js");
7
- const require_node = require("../node--Icxw2jo.js");
6
+ const require_dist = require("../dist-Dwhv3eOj.js");
7
+ const require_node = require("../node-CSDLSs7t.js");
8
8
  const require_restream_intent = require("../restream-intent-B1Difcnq.js");
9
9
  const require_remote_restream = require("../remote-restream-CO36Sr30.js");
10
10
  const require_retire_root_keys = require("../retire-root-keys-Csb8z2f3.js");
11
- const require_segment_demux_js = require("../segment-demux-js-jnT5YAxt.js");
11
+ const require_segment_demux_js = require("../segment-demux-js-CelIP7H_.js");
12
12
  let node_os = require("node:os");
13
13
  node_os = require_chunk.__toESM(node_os);
14
14
  let node_crypto = require("node:crypto");
@@ -4950,6 +4950,106 @@ function pushDimension(into, constraint, requested, known) {
4950
4950
  });
4951
4951
  }
4952
4952
  //#endregion
4953
+ //#region src/stream-broker/stream-broker/decode-failure-attribution.ts
4954
+ /**
4955
+ * Was the hardware decoder actually at fault?
4956
+ *
4957
+ * The egress child is spawned with `-hwaccel <backend>`, and until now ANY
4958
+ * failure of that first attempt was read as "hardware produced no packets":
4959
+ * the child was retried in software and the backend was quarantined for thirty
4960
+ * minutes, process-wide, for every camera.
4961
+ *
4962
+ * Measured on the hub 2026-09-13 at 17:48, the failure that triggered a
4963
+ * quarantine was this:
4964
+ *
4965
+ * ```
4966
+ * 17:48:43 egress: spawning ffmpeg child (hwaccel vaapi)
4967
+ * 17:48:45 native:sub — dial rate-limited, deferring to backoff window
4968
+ * 17:48:46 child FAILED: Error opening input: Invalid data found …
4969
+ * 17:48:49 rfc4571: publisher materialized {materializeMs=5486}
4970
+ * ```
4971
+ *
4972
+ * The child was started three seconds before anything was publishing to the
4973
+ * RTSP endpoint it was told to read. It never reached a decoder at all — and
4974
+ * the decoder took the blame, and every other camera lost hardware decode for
4975
+ * half an hour.
4976
+ *
4977
+ * ## The direction of the doubt
4978
+ *
4979
+ * An UNRECOGNISED failure still blames the backend. That asymmetry is
4980
+ * deliberate: a wrong quarantine costs software decode, while a missed one
4981
+ * costs every session a three-second death before its own retry — seven times
4982
+ * on one camera in half an hour, which is what put the quarantine here in the
4983
+ * first place. Only a failure we can positively attribute elsewhere is
4984
+ * excused.
4985
+ */
4986
+ /** Shapes only a decode backend produces. */
4987
+ var BACKEND_FAILURE = [
4988
+ /device creation failed/i,
4989
+ /failed to create .*(vaapi|qsv|cuda|videotoolbox|drm) .*device/i,
4990
+ /no va display/i,
4991
+ /hwaccel .*(not|un)(supported|available)/i,
4992
+ /cannot open the .*(hardware|hw) device/i,
4993
+ /impossible to convert between the formats/i
4994
+ ];
4995
+ /**
4996
+ * Shapes that are NOT the decoder's — checked FIRST, because the argv always
4997
+ * names the backend and a substring match on its name would convict it of
4998
+ * every failure ever logged.
4999
+ */
5000
+ var NOT_BACKEND = [
5001
+ /error opening input/i,
5002
+ /invalid data found when processing input/i,
5003
+ /connection refused/i,
5004
+ /connection timed out/i,
5005
+ /server returned \d/i,
5006
+ /no route to host/i,
5007
+ /immediate exit requested/i,
5008
+ /end of file/i
5009
+ ];
5010
+ function isDecodeBackendFailure(error) {
5011
+ if (NOT_BACKEND.some((re) => re.test(error))) return false;
5012
+ if (BACKEND_FAILURE.some((re) => re.test(error))) return true;
5013
+ return true;
5014
+ }
5015
+ //#endregion
5016
+ //#region src/stream-broker/stream-broker/egress-source-readiness.ts
5017
+ async function waitForSourceMedia(input) {
5018
+ const started = input.now();
5019
+ const first = input.hasMedia();
5020
+ if (first === null) return {
5021
+ ready: false,
5022
+ waitedMs: 0,
5023
+ outcome: "unknown"
5024
+ };
5025
+ if (first) return {
5026
+ ready: true,
5027
+ waitedMs: 0,
5028
+ outcome: "live"
5029
+ };
5030
+ for (;;) {
5031
+ const elapsed = input.now() - started;
5032
+ if (elapsed >= input.timeoutMs) return {
5033
+ ready: false,
5034
+ waitedMs: elapsed,
5035
+ outcome: "timeout"
5036
+ };
5037
+ await input.sleep(input.pollMs);
5038
+ const state = input.hasMedia();
5039
+ const waitedMs = input.now() - started;
5040
+ if (state === null) return {
5041
+ ready: false,
5042
+ waitedMs,
5043
+ outcome: "unknown"
5044
+ };
5045
+ if (state) return {
5046
+ ready: true,
5047
+ waitedMs,
5048
+ outcome: "materialized"
5049
+ };
5050
+ }
5051
+ }
5052
+ //#endregion
4953
5053
  //#region src/stream-broker/stream-broker/rtsp-host.ts
4954
5054
  /**
4955
5055
  * Rewrite the host of an `rtsp://host:port/path` URL in place, preserving the
@@ -5322,6 +5422,17 @@ var TranscodeEgress = class {
5322
5422
  */
5323
5423
  var DEFAULT_RELEASE_GRACE_MS = 5e3;
5324
5424
  /**
5425
+ * How long an egress child waits for its source to carry media before it is
5426
+ * spawned anyway. Sized against the measured cold open of a lazy publisher on
5427
+ * this hub (12.4 s on the wyze bridge, 5.5 s on the camera that produced the
5428
+ * mis-attributed VAAPI death) with margin — and bounded, because the wait is
5429
+ * never a refusal and a source that is genuinely dead must not hold a consumer
5430
+ * past the point where its own client has given up.
5431
+ */
5432
+ var SOURCE_MEDIA_WAIT_MS = 15e3;
5433
+ /** Poll cadence for that wait. Flat, for the reason a materialize poll is. */
5434
+ var SOURCE_MEDIA_POLL_MS = 250;
5435
+ /**
5325
5436
  * How long a push child may produce nothing before it is declared dead. The
5326
5437
  * observed failure EXITS in ~2 s and is caught by the error path long before
5327
5438
  * this; the timeout only covers a child that hangs.
@@ -5530,6 +5641,7 @@ var EgressTranscodeManager = class {
5530
5641
  const plane = fragments ? new require_node.Fmp4FragmentPlane(this.opts.logger.child("egress-fmp4")) : null;
5531
5642
  const channel = pushSink === null && plane === null ? this.opts.acquireChannel(brokerId) : null;
5532
5643
  const consumerUrl = channel !== null ? channel.consumerUrl : plane !== null ? fragmentsOnlyUrl(key) : pushOnlyUrl(publishedCamStreamId);
5644
+ await this.awaitSourceMedia(deviceId, key, source);
5533
5645
  const child = this.createChild({
5534
5646
  brokerId,
5535
5647
  deviceId,
@@ -5575,8 +5687,9 @@ var EgressTranscodeManager = class {
5575
5687
  throw err;
5576
5688
  }
5577
5689
  const actualHwAccel = child.decodeHwAccel();
5578
- if (decodeHwAccel !== null && !require_dist.isSoftwareDecode(decodeHwAccel) && actualHwAccel === null) this.opts.onDecodeHwAccelFailed?.(decodeHwAccel);
5579
- else if (actualHwAccel !== null && !require_dist.isSoftwareDecode(actualHwAccel)) this.opts.onDecodeHwAccelSucceeded?.(actualHwAccel);
5690
+ if (decodeHwAccel !== null && !require_dist.isSoftwareDecode(decodeHwAccel) && actualHwAccel === null) {
5691
+ if (child.hwAccelAtFault?.() !== false) this.opts.onDecodeHwAccelFailed?.(decodeHwAccel);
5692
+ } else if (actualHwAccel !== null && !require_dist.isSoftwareDecode(actualHwAccel)) this.opts.onDecodeHwAccelSucceeded?.(actualHwAccel);
5580
5693
  const entry = {
5581
5694
  key,
5582
5695
  deviceId,
@@ -5993,19 +6106,24 @@ var EgressTranscodeManager = class {
5993
6106
  reader.connect();
5994
6107
  });
5995
6108
  };
6109
+ let hwAccelAtFault = true;
5996
6110
  return {
6111
+ hwAccelAtFault: () => hwAccelAtFault,
5997
6112
  start: async () => {
5998
6113
  const requested = spec.invocation.decodeHwAccel;
5999
6114
  try {
6000
6115
  await spawnAttempt(requested);
6001
6116
  } catch (err) {
6002
6117
  if (requested === null || require_dist.isSoftwareDecode(requested)) throw err;
6003
- logger.warn("egress push: hardware decode produced NO packets — retrying in SOFTWARE", {
6118
+ const blameBackend = isDecodeBackendFailure(require_dist.errMsg(err));
6119
+ hwAccelAtFault = blameBackend;
6120
+ logger.warn(blameBackend ? "egress push: hardware decode produced NO packets — retrying in SOFTWARE" : "egress push: the child died before the decoder — retrying in SOFTWARE, backend NOT blamed", {
6004
6121
  tags: { deviceId },
6005
6122
  meta: {
6006
6123
  brokerId: spec.brokerId,
6007
6124
  camStreamId: spec.publishedCamStreamId,
6008
6125
  decodeHwAccel: requested,
6126
+ blameBackend,
6009
6127
  error: require_dist.errMsg(err)
6010
6128
  }
6011
6129
  });
@@ -6087,6 +6205,37 @@ var EgressTranscodeManager = class {
6087
6205
  * source dial. A targeted source that has never been dialed is refused rather
6088
6206
  * than silently substituted — the consumer asked for a specific stream.
6089
6207
  */
6208
+ /**
6209
+ * Hold the spawn until the source is carrying media, under a bound.
6210
+ *
6211
+ * Never throws and never refuses: a source that says nothing by the deadline
6212
+ * is spawned against anyway, and the line says what was waited. The only
6213
+ * thing this changes is WHEN ffmpeg opens the loopback.
6214
+ */
6215
+ async awaitSourceMedia(deviceId, key, source) {
6216
+ const hasMedia = this.opts.sourceHasMedia;
6217
+ if (hasMedia === void 0) return;
6218
+ const verdict = await waitForSourceMedia({
6219
+ hasMedia: () => hasMedia(source.brokerId),
6220
+ timeoutMs: SOURCE_MEDIA_WAIT_MS,
6221
+ pollMs: SOURCE_MEDIA_POLL_MS,
6222
+ now: () => Date.now(),
6223
+ sleep: (ms) => new Promise((resolve) => {
6224
+ setTimeout(resolve, ms).unref?.();
6225
+ })
6226
+ });
6227
+ if (verdict.outcome === "live") return;
6228
+ this.opts.logger.info("egress transcode: waited for the SOURCE before spawning", {
6229
+ tags: { deviceId },
6230
+ meta: {
6231
+ pipelineKey: key,
6232
+ sourceBrokerId: source.brokerId,
6233
+ outcome: verdict.outcome,
6234
+ waitedMs: verdict.waitedMs,
6235
+ ready: verdict.ready
6236
+ }
6237
+ });
6238
+ }
6090
6239
  resolveSource(request) {
6091
6240
  const deviceId = request.deviceId;
6092
6241
  const camStreamId = this.resolvedCamStreamId(request);
@@ -6097,6 +6246,7 @@ var EgressTranscodeManager = class {
6097
6246
  const stream = this.opts.cameraStreamLookup(deviceId).find((s) => s.camStreamId === camStreamId);
6098
6247
  const declaredCodec = stream?.codec !== void 0 && stream.codec.length > 0;
6099
6248
  return {
6249
+ brokerId,
6100
6250
  url: entry.url,
6101
6251
  codec: normaliseSourceCodec(stream?.codec),
6102
6252
  width: stream?.resolution?.width ?? 1280,
@@ -15618,6 +15768,11 @@ var StreamBrokerManager = class StreamBrokerManager {
15618
15768
  const entry = this.rtspProvider.getEntry(brokerId);
15619
15769
  return entry ? { url: entry.url } : null;
15620
15770
  },
15771
+ sourceHasMedia: (brokerId) => {
15772
+ const broker = this.brokers.get(brokerId);
15773
+ if (broker === void 0) return null;
15774
+ return broker.getLastPacketAt() > 0;
15775
+ },
15621
15776
  ffmpegConfig: () => this.ffmpegConfig,
15622
15777
  ...this.costRegistry === null ? {} : { costRegistry: this.costRegistry },
15623
15778
  resolveDecodeHwAccel: (deviceId, override) => this.resolveEgressHwAccel(deviceId, override),
@@ -1,10 +1,10 @@
1
1
  import { r as __toESM } from "../chunk-DnnnRqeS.mjs";
2
- import { $t as isEvent, A as RingBuffer, Dt as resolveEgressDecodeHwAccel, E as RATE_CONTROL_TIGHT, Gt as BaseAddon, Ht as invocationFromEncodeProfile, I as batteryCapability, J as egressTranscodeSharingKey, Jt as DeviceType, Kt as CAM_PROFILE_ORDER, L as cameraStreamsCapability, Lt as webrtcSessionCapability, M as addonWidgetsSourceCapability, Pt as streamBrokerCapability, R as createHwAccelCache, Rt as errMsg, T as RATE_CONTROL_RELAXED, Ut as isSoftwareDecode, V as declareLogChannel, Vt as buildFfmpegArgs$1, W as deriveBatteryPresence, Wt as BOOT_RECOVERY_BACKOFF_MS, Xt as createEvent, Y as egressTransportFromRequest, Zt as expandAudioChunkToF32le, _n as string, cn as array, en as makeProfileBrokerId, fn as literal, gn as record, h as EncodeProfileSchema, i as BatteryStatusSchema, in as parseProfileBrokerId, ln as boolean, lt as maskUrlCredentials, mn as object, nn as nodePin, ot as loadContributionCapability, pn as number, qt as DeviceFeature, sn as _enum, st as logChannelsCapability, tn as makeSourceBrokerId, un as discriminatedUnion, v as G711_SCALE_CORRECTION_DB, vn as union, yn as EventCategory, z as createLogChannelsProvider, zt as AUDIO_PRESETS } from "../dist-InCt3_5U.mjs";
3
- import { i as NO_COST_CLAIM, n as Fmp4FragmentChild, r as Fmp4FragmentPlane, t as ChildCostRegistry } from "../node-B6Wz_gqK.mjs";
2
+ import { $t as isEvent, A as RingBuffer, Dt as resolveEgressDecodeHwAccel, E as RATE_CONTROL_TIGHT, Gt as BaseAddon, Ht as invocationFromEncodeProfile, I as batteryCapability, J as egressTranscodeSharingKey, Jt as DeviceType, Kt as CAM_PROFILE_ORDER, L as cameraStreamsCapability, Lt as webrtcSessionCapability, M as addonWidgetsSourceCapability, Pt as streamBrokerCapability, R as createHwAccelCache, Rt as errMsg, T as RATE_CONTROL_RELAXED, Ut as isSoftwareDecode, V as declareLogChannel, Vt as buildFfmpegArgs$1, W as deriveBatteryPresence, Wt as BOOT_RECOVERY_BACKOFF_MS, Xt as createEvent, Y as egressTransportFromRequest, Zt as expandAudioChunkToF32le, _n as string, cn as array, en as makeProfileBrokerId, fn as literal, gn as record, h as EncodeProfileSchema, i as BatteryStatusSchema, in as parseProfileBrokerId, ln as boolean, lt as maskUrlCredentials, mn as object, nn as nodePin, ot as loadContributionCapability, pn as number, qt as DeviceFeature, sn as _enum, st as logChannelsCapability, tn as makeSourceBrokerId, un as discriminatedUnion, v as G711_SCALE_CORRECTION_DB, vn as union, yn as EventCategory, z as createLogChannelsProvider, zt as AUDIO_PRESETS } from "../dist-Dcp-eVbN.mjs";
3
+ import { i as NO_COST_CLAIM, n as Fmp4FragmentChild, r as Fmp4FragmentPlane, t as ChildCostRegistry } from "../node-ClxCG7kX.mjs";
4
4
  import { c as PREBUFFER_MAX_MS, d as resolvePrebuffer, i as parseRestreamPath, l as capPreRollRequestMs, n as NO_DECLARATION, u as prebufferRetentionMs } from "../restream-intent-DWe2kInY.mjs";
5
5
  import { n as profileForStreamId } from "../remote-restream-BeHi78PZ.mjs";
6
6
  import { n as RowMapStore, t as retireRootKeys } from "../retire-root-keys-DZvlso2l.mjs";
7
- import { i as require_mp4box_all, n as demuxSegmentPreferJs, r as runFfmpegOnce, t as demuxSegmentFullJs } from "../segment-demux-js-CB9SGcWW.mjs";
7
+ import { i as require_mp4box_all, n as demuxSegmentPreferJs, r as runFfmpegOnce, t as demuxSegmentFullJs } from "../segment-demux-js-BWZQJ1AS.mjs";
8
8
  import { createRequire } from "node:module";
9
9
  import * as os from "node:os";
10
10
  import { networkInterfaces, tmpdir } from "node:os";
@@ -4946,6 +4946,106 @@ function pushDimension(into, constraint, requested, known) {
4946
4946
  });
4947
4947
  }
4948
4948
  //#endregion
4949
+ //#region src/stream-broker/stream-broker/decode-failure-attribution.ts
4950
+ /**
4951
+ * Was the hardware decoder actually at fault?
4952
+ *
4953
+ * The egress child is spawned with `-hwaccel <backend>`, and until now ANY
4954
+ * failure of that first attempt was read as "hardware produced no packets":
4955
+ * the child was retried in software and the backend was quarantined for thirty
4956
+ * minutes, process-wide, for every camera.
4957
+ *
4958
+ * Measured on the hub 2026-09-13 at 17:48, the failure that triggered a
4959
+ * quarantine was this:
4960
+ *
4961
+ * ```
4962
+ * 17:48:43 egress: spawning ffmpeg child (hwaccel vaapi)
4963
+ * 17:48:45 native:sub — dial rate-limited, deferring to backoff window
4964
+ * 17:48:46 child FAILED: Error opening input: Invalid data found …
4965
+ * 17:48:49 rfc4571: publisher materialized {materializeMs=5486}
4966
+ * ```
4967
+ *
4968
+ * The child was started three seconds before anything was publishing to the
4969
+ * RTSP endpoint it was told to read. It never reached a decoder at all — and
4970
+ * the decoder took the blame, and every other camera lost hardware decode for
4971
+ * half an hour.
4972
+ *
4973
+ * ## The direction of the doubt
4974
+ *
4975
+ * An UNRECOGNISED failure still blames the backend. That asymmetry is
4976
+ * deliberate: a wrong quarantine costs software decode, while a missed one
4977
+ * costs every session a three-second death before its own retry — seven times
4978
+ * on one camera in half an hour, which is what put the quarantine here in the
4979
+ * first place. Only a failure we can positively attribute elsewhere is
4980
+ * excused.
4981
+ */
4982
+ /** Shapes only a decode backend produces. */
4983
+ var BACKEND_FAILURE = [
4984
+ /device creation failed/i,
4985
+ /failed to create .*(vaapi|qsv|cuda|videotoolbox|drm) .*device/i,
4986
+ /no va display/i,
4987
+ /hwaccel .*(not|un)(supported|available)/i,
4988
+ /cannot open the .*(hardware|hw) device/i,
4989
+ /impossible to convert between the formats/i
4990
+ ];
4991
+ /**
4992
+ * Shapes that are NOT the decoder's — checked FIRST, because the argv always
4993
+ * names the backend and a substring match on its name would convict it of
4994
+ * every failure ever logged.
4995
+ */
4996
+ var NOT_BACKEND = [
4997
+ /error opening input/i,
4998
+ /invalid data found when processing input/i,
4999
+ /connection refused/i,
5000
+ /connection timed out/i,
5001
+ /server returned \d/i,
5002
+ /no route to host/i,
5003
+ /immediate exit requested/i,
5004
+ /end of file/i
5005
+ ];
5006
+ function isDecodeBackendFailure(error) {
5007
+ if (NOT_BACKEND.some((re) => re.test(error))) return false;
5008
+ if (BACKEND_FAILURE.some((re) => re.test(error))) return true;
5009
+ return true;
5010
+ }
5011
+ //#endregion
5012
+ //#region src/stream-broker/stream-broker/egress-source-readiness.ts
5013
+ async function waitForSourceMedia(input) {
5014
+ const started = input.now();
5015
+ const first = input.hasMedia();
5016
+ if (first === null) return {
5017
+ ready: false,
5018
+ waitedMs: 0,
5019
+ outcome: "unknown"
5020
+ };
5021
+ if (first) return {
5022
+ ready: true,
5023
+ waitedMs: 0,
5024
+ outcome: "live"
5025
+ };
5026
+ for (;;) {
5027
+ const elapsed = input.now() - started;
5028
+ if (elapsed >= input.timeoutMs) return {
5029
+ ready: false,
5030
+ waitedMs: elapsed,
5031
+ outcome: "timeout"
5032
+ };
5033
+ await input.sleep(input.pollMs);
5034
+ const state = input.hasMedia();
5035
+ const waitedMs = input.now() - started;
5036
+ if (state === null) return {
5037
+ ready: false,
5038
+ waitedMs,
5039
+ outcome: "unknown"
5040
+ };
5041
+ if (state) return {
5042
+ ready: true,
5043
+ waitedMs,
5044
+ outcome: "materialized"
5045
+ };
5046
+ }
5047
+ }
5048
+ //#endregion
4949
5049
  //#region src/stream-broker/stream-broker/rtsp-host.ts
4950
5050
  /**
4951
5051
  * Rewrite the host of an `rtsp://host:port/path` URL in place, preserving the
@@ -5318,6 +5418,17 @@ var TranscodeEgress = class {
5318
5418
  */
5319
5419
  var DEFAULT_RELEASE_GRACE_MS = 5e3;
5320
5420
  /**
5421
+ * How long an egress child waits for its source to carry media before it is
5422
+ * spawned anyway. Sized against the measured cold open of a lazy publisher on
5423
+ * this hub (12.4 s on the wyze bridge, 5.5 s on the camera that produced the
5424
+ * mis-attributed VAAPI death) with margin — and bounded, because the wait is
5425
+ * never a refusal and a source that is genuinely dead must not hold a consumer
5426
+ * past the point where its own client has given up.
5427
+ */
5428
+ var SOURCE_MEDIA_WAIT_MS = 15e3;
5429
+ /** Poll cadence for that wait. Flat, for the reason a materialize poll is. */
5430
+ var SOURCE_MEDIA_POLL_MS = 250;
5431
+ /**
5321
5432
  * How long a push child may produce nothing before it is declared dead. The
5322
5433
  * observed failure EXITS in ~2 s and is caught by the error path long before
5323
5434
  * this; the timeout only covers a child that hangs.
@@ -5526,6 +5637,7 @@ var EgressTranscodeManager = class {
5526
5637
  const plane = fragments ? new Fmp4FragmentPlane(this.opts.logger.child("egress-fmp4")) : null;
5527
5638
  const channel = pushSink === null && plane === null ? this.opts.acquireChannel(brokerId) : null;
5528
5639
  const consumerUrl = channel !== null ? channel.consumerUrl : plane !== null ? fragmentsOnlyUrl(key) : pushOnlyUrl(publishedCamStreamId);
5640
+ await this.awaitSourceMedia(deviceId, key, source);
5529
5641
  const child = this.createChild({
5530
5642
  brokerId,
5531
5643
  deviceId,
@@ -5571,8 +5683,9 @@ var EgressTranscodeManager = class {
5571
5683
  throw err;
5572
5684
  }
5573
5685
  const actualHwAccel = child.decodeHwAccel();
5574
- if (decodeHwAccel !== null && !isSoftwareDecode(decodeHwAccel) && actualHwAccel === null) this.opts.onDecodeHwAccelFailed?.(decodeHwAccel);
5575
- else if (actualHwAccel !== null && !isSoftwareDecode(actualHwAccel)) this.opts.onDecodeHwAccelSucceeded?.(actualHwAccel);
5686
+ if (decodeHwAccel !== null && !isSoftwareDecode(decodeHwAccel) && actualHwAccel === null) {
5687
+ if (child.hwAccelAtFault?.() !== false) this.opts.onDecodeHwAccelFailed?.(decodeHwAccel);
5688
+ } else if (actualHwAccel !== null && !isSoftwareDecode(actualHwAccel)) this.opts.onDecodeHwAccelSucceeded?.(actualHwAccel);
5576
5689
  const entry = {
5577
5690
  key,
5578
5691
  deviceId,
@@ -5989,19 +6102,24 @@ var EgressTranscodeManager = class {
5989
6102
  reader.connect();
5990
6103
  });
5991
6104
  };
6105
+ let hwAccelAtFault = true;
5992
6106
  return {
6107
+ hwAccelAtFault: () => hwAccelAtFault,
5993
6108
  start: async () => {
5994
6109
  const requested = spec.invocation.decodeHwAccel;
5995
6110
  try {
5996
6111
  await spawnAttempt(requested);
5997
6112
  } catch (err) {
5998
6113
  if (requested === null || isSoftwareDecode(requested)) throw err;
5999
- logger.warn("egress push: hardware decode produced NO packets — retrying in SOFTWARE", {
6114
+ const blameBackend = isDecodeBackendFailure(errMsg(err));
6115
+ hwAccelAtFault = blameBackend;
6116
+ logger.warn(blameBackend ? "egress push: hardware decode produced NO packets — retrying in SOFTWARE" : "egress push: the child died before the decoder — retrying in SOFTWARE, backend NOT blamed", {
6000
6117
  tags: { deviceId },
6001
6118
  meta: {
6002
6119
  brokerId: spec.brokerId,
6003
6120
  camStreamId: spec.publishedCamStreamId,
6004
6121
  decodeHwAccel: requested,
6122
+ blameBackend,
6005
6123
  error: errMsg(err)
6006
6124
  }
6007
6125
  });
@@ -6083,6 +6201,37 @@ var EgressTranscodeManager = class {
6083
6201
  * source dial. A targeted source that has never been dialed is refused rather
6084
6202
  * than silently substituted — the consumer asked for a specific stream.
6085
6203
  */
6204
+ /**
6205
+ * Hold the spawn until the source is carrying media, under a bound.
6206
+ *
6207
+ * Never throws and never refuses: a source that says nothing by the deadline
6208
+ * is spawned against anyway, and the line says what was waited. The only
6209
+ * thing this changes is WHEN ffmpeg opens the loopback.
6210
+ */
6211
+ async awaitSourceMedia(deviceId, key, source) {
6212
+ const hasMedia = this.opts.sourceHasMedia;
6213
+ if (hasMedia === void 0) return;
6214
+ const verdict = await waitForSourceMedia({
6215
+ hasMedia: () => hasMedia(source.brokerId),
6216
+ timeoutMs: SOURCE_MEDIA_WAIT_MS,
6217
+ pollMs: SOURCE_MEDIA_POLL_MS,
6218
+ now: () => Date.now(),
6219
+ sleep: (ms) => new Promise((resolve) => {
6220
+ setTimeout(resolve, ms).unref?.();
6221
+ })
6222
+ });
6223
+ if (verdict.outcome === "live") return;
6224
+ this.opts.logger.info("egress transcode: waited for the SOURCE before spawning", {
6225
+ tags: { deviceId },
6226
+ meta: {
6227
+ pipelineKey: key,
6228
+ sourceBrokerId: source.brokerId,
6229
+ outcome: verdict.outcome,
6230
+ waitedMs: verdict.waitedMs,
6231
+ ready: verdict.ready
6232
+ }
6233
+ });
6234
+ }
6086
6235
  resolveSource(request) {
6087
6236
  const deviceId = request.deviceId;
6088
6237
  const camStreamId = this.resolvedCamStreamId(request);
@@ -6093,6 +6242,7 @@ var EgressTranscodeManager = class {
6093
6242
  const stream = this.opts.cameraStreamLookup(deviceId).find((s) => s.camStreamId === camStreamId);
6094
6243
  const declaredCodec = stream?.codec !== void 0 && stream.codec.length > 0;
6095
6244
  return {
6245
+ brokerId,
6096
6246
  url: entry.url,
6097
6247
  codec: normaliseSourceCodec(stream?.codec),
6098
6248
  width: stream?.resolution?.width ?? 1280,
@@ -15614,6 +15764,11 @@ var StreamBrokerManager = class StreamBrokerManager {
15614
15764
  const entry = this.rtspProvider.getEntry(brokerId);
15615
15765
  return entry ? { url: entry.url } : null;
15616
15766
  },
15767
+ sourceHasMedia: (brokerId) => {
15768
+ const broker = this.brokers.get(brokerId);
15769
+ if (broker === void 0) return null;
15770
+ return broker.getLastPacketAt() > 0;
15771
+ },
15617
15772
  ffmpegConfig: () => this.ffmpegConfig,
15618
15773
  ...this.costRegistry === null ? {} : { costRegistry: this.costRegistry },
15619
15774
  resolveDecodeHwAccel: (deviceId, override) => this.resolveEgressHwAccel(deviceId, override),
@@ -30,7 +30,7 @@ async function d(e) {
30
30
  }
31
31
  }
32
32
  async function f() {
33
- return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-D2AmFf2m.mjs")).catch((e) => {
33
+ return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BOpWY0lf.mjs")).catch((e) => {
34
34
  throw l = void 0, e;
35
35
  }), l;
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-pipeline",
3
- "version": "1.2.226",
3
+ "version": "1.2.228",
4
4
  "description": "Pipeline bundle — runner, detection, motion, audio + stream broker. Multi-entry npm package shipping pipeline addons under a single bundle.",
5
5
  "keywords": [
6
6
  "camstack",
@@ -289,7 +289,6 @@
289
289
  },
290
290
  "dependencies": {
291
291
  "@camstack/system": "*",
292
- "lucide-react": "^0.511.0",
293
292
  "mp4box": "0.5.4",
294
293
  "node-av": "^6.0.0",
295
294
  "opus-decoder": "^0.7.11",
@@ -310,6 +309,7 @@
310
309
  "@types/react-dom": "^19.1.0",
311
310
  "@vitejs/plugin-react": "^6.0.2",
312
311
  "jsdom": "^29.0.1",
312
+ "lucide-react": "^0.576.0",
313
313
  "tailwindcss": "^4.2.0",
314
314
  "typescript": "~6.0.3",
315
315
  "vite": "^8.0.11",
@@ -1,26 +0,0 @@
1
- //#region \0virtual:mf:__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js
2
- var e = "__mf_init__virtual:mf:__mfe_internal__addon_stream_broker_widgets__mf_v__runtimeInit__mf_v__.js__", t = globalThis[e];
3
- if (!t) {
4
- let n, r, i = new Promise((e, t) => {
5
- n = e, r = t;
6
- });
7
- t = globalThis[e] = {
8
- initPromise: i,
9
- initResolve: n,
10
- initReject: r
11
- };
12
- }
13
- var n = t.initPromise, r = "__mf_module_cache__";
14
- globalThis[r] ||= {
15
- share: {},
16
- remote: {}
17
- }, globalThis[r].share ||= {}, globalThis[r].remote ||= {};
18
- var i = globalThis[r], a, o = (e) => {
19
- e.ACCESSORY_LABEL, e.ACCESS_ROLES, e.ALEXA_EGRESS_PROFILE, e.ALL_CAPABILITY_DEFINITIONS, e.APPLE_SA_TO_MACRO, e.ARCHIVED_DEBUG_NOTES_DEFAULT_LIMIT, e.AUDIO_ANALYSIS_CAP_NAME, e.AUDIO_BACKEND_CHOICES, e.AUDIO_CHUNK_FORMATS, e.AUDIO_MACRO_LABELS, e.AUDIO_PRESETS, e.AUDIO_SCALE_EPOCH_ISO, e.AUDIO_SCALE_EPOCH_MS, e.AccessoriesStatusSchema, e.AccessoryKind, e.AddBrokerInputSchema, e.AddonAutoUpdateSchema, e.AddonListItemSchema, e.AddonPageDeclarationSchema, e.AddonPageInfoSchema, e.AdoptionAdoptInputSchema, e.AdoptionAdoptResultSchema, e.AdoptionCandidateResultSchema, e.AdoptionFilterSchema, e.AdoptionGetCandidateInputSchema, e.AdoptionJobSchema, e.AdoptionJobStateSchema, e.AdoptionListCandidatesInputSchema, e.AdoptionListCandidatesOutputSchema, e.AdoptionOutcomeSchema, e.AdoptionReleaseInputSchema, e.AdoptionStatusSchema, e.AgentLoadSummarySchema, e.AirQualitySensorStatusSchema, e.AlarmArmModeSchema, e.AlarmPanelStatusSchema, e.AlarmStateSchema, e.AlertSchema, e.AlertSeveritySchema, e.AlertSourceSchema, e.AlertStatusSchema, e.AmbientLightSensorStatusSchema, e.ApiKeyRecordSchema, e.ApiKeySummarySchema, e.ArchiveEntrySchema, e.ArchiveManifestSchema, e.ArchivedDebugNoteQueryInputSchema, e.ArchivedDebugNoteSchema, e.AttachmentMediaTypeSchema, e.AttachmentSchema, e.AudioAnalysisResultSchema, e.AudioAnalysisSettingsSchema, e.AudioAttachDeviceInputSchema, e.AudioAttachDeviceResultSchema, e.AudioChunkFormatSchema, e.AudioChunkInputSchema, e.AudioClassSummarySchema, e.AudioClassificationLabelSchema, e.AudioClassificationResultSchema, e.AudioCodecInfoSchema, e.AudioDecodeSessionConfigSchema, e.AudioDetachDeviceResultSchema, e.AudioEncodeSchema, e.AudioEncodeSessionConfigSchema, e.AudioEncodedChunkSchema, e.AudioEventSchema, e.AudioLevelSchema, e.AudioMetricsHistoryPointSchema, e.AudioMetricsHistorySchema, e.AudioMetricsSnapshotSchema, e.AudioPcmChunkSchema, e.AuthResultSchema, e.AutoUpdateSettingsSchema, e.AutomationActionSchema, e.AutomationConditionOperatorSchema, e.AutomationConditionSchema, e.AutomationControlStatusSchema, e.AutomationRecipeSchema, e.AutomationTriggerSchema, e.AvailableIntegrationTypeSchema, e.BACKEND_TO_FORMAT, e.BASE_LIVE_EGRESS_PROFILE, e.BATTERY_DEVICE_PROFILE, e.BATTERY_UNREACHABLE_AFTER_MS, e.BIRTH_DECISION_DEFAULT_LIMIT, e.BOOT_RECOVERY_BACKOFF_MS, e.BacklightModeSchema, e.BackupDestinationInfoSchema, e.BackupEntrySchema, e.BackupRunPhaseSchema, e.BackupRunSchema, e.BackupRunStateSchema, e.BackupTriggerResultSchema, e.BaseAddon, e.BaseDevice, e.BaseDeviceProvider, e.BatteryStatusSchema, e.BinaryStatusSchema, e.BirthDecisionQueryInputSchema, e.BirthDecisionRecordSchema, e.BirthDecisionVerdictSchema, e.BoundingBoxSchema, e.BrightnessStatusSchema, e.BrokerAddInputSchema, e.BrokerAudioClientSchema, e.BrokerClientsSchema, e.BrokerConnectionDetailsSchema, e.BrokerConsumerAttributionSchema, e.BrokerConsumerKindSchema, e.BrokerDecodedClientSchema, e.BrokerEncodedClientSchema, e.BrokerGetStateInputSchema, e.BrokerInfoSchema, e.BrokerProviderInfoSchema, e.BrokerPublishInputSchema, e.BrokerRegistryStatusSchema, e.BrokerRtspClientSchema, e.BrokerStatsSchema, e.BrokerStatusEnum, e.BrokerStatusSchema, e.BrokerSubscribeInputSchema, e.BrokerSubscribeResultSchema, e.BrokerTestConnectionResultSchema, e.BrokerUnsubscribeInputSchema, e.BulkRecordSchema, e.CAMERA_SWITCH_CATALOG, e.CAMERA_SWITCH_ORDER, e.CAM_PROFILE_ORDER, e.CAPABILITY_NAMES, e.CAPABILITY_ROUTER_KEYS, e.CAP_NAMES_WITH_STATUS, e.CAP_NODE_PIN_CONTEXT_KEY, e.CAP_PROVIDER_KIND_MAP, e.CLASS_MAP_MACRO_TARGETS, e.CLUSTER_MODEL_SCOPED_STEPS, e.CLUSTER_MODEL_SECTION_ID, e.CLUSTER_STEP_SETTING_FIELDS, e.COCO_80_LABELS, e.COCO_TO_MACRO, e.CONNECTION_TEST_TIMEOUT_MS, e.CONTAINER_CHILD_PRIORITY, e.CORE_BLOCKS_ADDON_ID, e.CORE_BLOCK_ADDON_PREFIX, e.CamProfileSchema, e.CamStreamDescriptorSchema, e.CamStreamKindSchema, e.CamStreamResolutionSchema, e.CameraAssignmentStatusSchema, e.CameraAudioStatusSchema, e.CameraBrokerProfileSchema, e.CameraBrokerStatusSchema, e.CameraCredentialsSchema, e.CameraCredentialsStatusSchema, e.CameraDecoderShmSchema, e.CameraDecoderStatusSchema, e.CameraDetectionPhaseSchema, e.CameraDetectionProvisioningSchema, e.CameraDetectionProvisioningStateSchema, e.CameraDetectionStatusSchema, e.CameraMetricsSchema, e.CameraMetricsWithDeviceIdSchema, e.CameraMotionStatusSchema, e.CameraOccupancySnapshotForDeviceSchema, e.CameraRecordingModeSchema, e.CameraRecordingStatusSchema, e.CameraSourceStatusSchema, e.CameraSourceStreamSchema, e.CameraStatusDegradationReasonSchema, e.CameraStatusDegradationSchema, e.CameraStatusSchema, e.CameraStatusStageSchema, e.CameraStreamSchema, e.CameraSwitchAuthoritySchema, e.CameraSwitchGroupSchema, e.CameraSwitchIdSchema, e.CameraSwitchSchema, e.CameraSwitchUnavailableReasonSchema, e.CandidateQueryFilterSchema, e.CapScopeSchema, e.CapabilityBindingsSchema, e.CarbonMonoxideStatusSchema, e.ChargingStatus, e.ClientNetworkStatsSchema, e.ClimateControlStatusSchema, e.ClipPlaybackSchema, e.ClipSchema, e.ClusterAddonNodeDeploymentSchema, e.ClusterAddonStatusEntrySchema, e.CollectionColumnSchema, e.CollectionIndexSchema, e.ColorStatusSchema, e.ConfigEntrySchema, e.ConfigSectionWithValuesSchema, e.ConfigTabDeclarationSchema, e.ConnectionTestDescriptorSchema, e.ConnectionTestInputSchema, e.ConnectionTestOutcomeSchema, e.ConnectivityStatusSchema, e.ConsumableItemSchema, e.ConsumablesStatusSchema, e.ContactStatusSchema, e.ControlKindSchema, e.ControlStatusSchema, e.ConvertArtifactSchema, e.ConvertResultSchema, e.ConvertTargetSchema, e.CoreBlockCompileResultSchema, e.CoreBlockInputSchema, e.CoreBlockPlacementSchema, e.CoreBlockSchema, e.CoreBlockStatusSchema, e.CoverStateSchema, e.CoverStatusSchema, e.CreateApiKeyInputSchema, e.CreateApiKeyResultSchema, e.CreateIntegrationInputSchema, e.CreateScopedTokenInputSchema, e.CreateScopedTokenResultSchema, e.CreateUserInputSchema, e.CustomActionInputSchema, e.CustomModelDescriptorSchema, e.DATAPLANE_SECRET_HEADER, e.DECLARED_DEVICE_SWEEP_LIMIT, e.DECLARED_INTEGRATION_FIXED_KEY, e.DEFAULT_ADDON_PLACEMENT, e.DEFAULT_AUDIO_ANALYZER_CONFIG, e.DEFAULT_CLUSTER_STEP_MODELS, e.DEFAULT_CLUSTER_STEP_SETTINGS, e.DEFAULT_DECODER_HWACCEL_CONFIG, e.DEFAULT_DETAIL_CROP_CONVENTION, e.DEFAULT_EVENTS_BAND_BUFFER_SEC, e.DEFAULT_EVENT_COLOR, e.DEFAULT_FEATURES, e.DEFAULT_FIRST_SIGHTING_FRESHNESS_MS, e.DEFAULT_MIN_LANDMARK_FACE_SIZE_PX, e.DEFAULT_NATIVE_LEASE_SETTINGS, e.DEFAULT_POOL_MEMORY_POLICY, e.DEFAULT_RECORDING_PROFILES, e.DEFAULT_RETENTION, e.DEFAULT_RUNTIME_STATE_DURABILITY, e.DEFAULT_TIMELAPSE_PREVIEW_TEXT, e.DEFAULT_TOKEN_EXPIRY, e.DETAIL_CROP_PADDING_FIELD, e.DETAIL_CROP_PADDING_KEY, e.DETAIL_CROP_SECTION_ID, e.DETAIL_CROP_SQUARE_KEY, e.DETECTION_MACRO_CLASSES, e.DETECTION_PIPELINE_CAP_NAME, e.DEVICE_BACKEND_TO_FORMAT, e.DEVICE_CAP_NAMES, e.DEVICE_CHILDREN_BATCH_MAX, e.DEVICE_PROFILES, e.DEVICE_RESTORE_RETRY_CONCURRENCY, e.DEVICE_RESTORE_RETRY_DELAYS_MS, e.DEVICE_SCOPED_CAPS, e.DEVICE_SETTINGS_CONTRIBUTION_METHODS, e.DEVICE_STATE_READERS, e.DEVICE_STATUS_METHOD, e.DEVICE_TYPE_CONTROL_KIND, e.DEVICE_TYPE_INFO, e.DataStoreEngineInfoSchema, e.DayNightModeSchema, e.DayNightOptionsSchema, e.DayNightSettingsPatchSchema, e.DayNightStatusSchema, e.DeclaredDevices, e.DecodedAudioChunkSchema, e.DecodedFrameSchema, e.DecoderSessionConfigSchema, e.DecoderStatsSchema, e.DeleteIntegrationResultSchema, e.DetailCropConventionSchema, e.DetectionCatalogClassMapSchema, e.DetectionSourceSchema, e.DeviceCodeSeveritySchema, e.DeviceConfig, e.DeviceDiscoveryStatusSchema, e.DeviceExportExposeInputSchema, e.DeviceExportStatusSchema, e.DeviceExportUnexposeInputSchema, e.DeviceFeature, e.DeviceInfoSchema, e.DeviceNetworkStatsSchema, e.DeviceRestoreRetryScheduler, e.DeviceRole, e.DeviceRuntimeState, e.DeviceSelectorSchema, e.DeviceStatusSchema, e.DeviceType, e.DiagnosticIdSchema, e.DiagnosticWindowPatchSchema, e.DiagnosticWindowSchema, e.DiscoveredChildDeviceSchema, e.DiscoveredChildStatusSchema, e.DiscoveredDeviceSchema, e.DiscoveredTargetSchema, e.DiskReconcileJobSchema, e.DisposerChain, e.DoorbellPressEventSchema, e.DoorbellStatusSchema, e.EVENTFUL_CAP_NAMES, e.EVENT_DENSITY_BATCH_MAX, e.EVENT_KIND_BY_CAP, e.EVENT_OWNER_TYPES, e.EVENT_PAD_MS, e.EVENT_TAXONOMY, e.EXPORT_DENSE_MAX_RANGES, e.EXPRESSION_BUILTINS, e.EXPRESSION_BUILTIN_NAMES, e.EXPRESSION_COMPILE_CACHE_CAPACITY, e.EXPRESSION_IDENTIFIER_RE, e.EXPRESSION_INJECTED_NOW, e.EgressEncodeSchema, e.EgressRateControlSchema, e.EgressTranscodeRequestSchema, e.EgressTranscodeSchema, e.ElementConfigStore, e.EmbeddingInfoSchema, e.EmbeddingResultSchema, e.EncodeProfileSchema, e.EncodedPacketSchema, e.EnrichedWidgetMetadataSchema, e.EnumSensorDateTimeFormatSchema, e.EnumSensorStatusSchema, e.EventCategory, e.EventDensityBucketSchema, e.EventDensityForDeviceSchema, e.EventEmitterStatusSchema, e.EventFireSchema, e.EventItemSchema, e.EventKindCategorySchema, e.EventKindDescriptorSchema, e.EventKindIconSchema, e.EventKindSchema, e.EventKindsForDeviceSchema, e.EventMediaArtifactSchema, e.EventMediaCoverageSchema, e.EventMediaKindSchema, e.EventMediaProductionSchema, e.EventSourceType, e.ExportBytesSchema, e.ExportDenseRangeSchema, e.ExportDenseSchema, e.ExportDownloadSchema, e.ExportOptionsSchema, e.ExportRecordSchema, e.ExportSetupFieldSchema, e.ExportSetupSchema, e.ExportSpeedSchema, e.ExportStateSchema, e.ExportTimelapseSchema, e.ExposedDeviceSchema, e.ExposureModeSchema, e.ExpressionBindingSourceSchema, e.ExpressionEvalError, e.ExpressionFieldBindingSchema, e.ExpressionGlobalBindingSchema, e.ExpressionLiteralBindingSchema, e.ExpressionParseError, e.ExpressionSourceSchema, e.FIRST_LEVEL_MACRO_CLASSES, e.FULL_IMAGE_BBOX, e.FailureContributionSchema, e.FailureCounters, e.FailureReasonCountSchema, e.FanControlStatusSchema, e.FanDirectionSchema, e.FeatureManifestSchema, e.FeatureProbeStatusSchema, e.FloodStatusSchema, e.Fmp4BoxSplitter, e.FrameHandleFormatSchema, e.FrameHandleSchema, e.FrameInputSchema, e.FrameLazyCountersSchema, e.FrameLazyMetricsSchema, e.G711_SCALE_CORRECTION_DB, e.GasStatusSchema, e.GetLoggingSettingsInputSchema, e.GetStreamWithCodecInputSchema, e.GlobalMetricsSchema, e.HAP_AUDIO_BASE, e.HAP_AUDIO_BITRATE_KBPS, e.HAP_AUDIO_VBV_KBITS, e.HAP_KEYFRAME_INTERVAL_SEC, e.HF_BASE_URL, e.HF_REPO, e.HWACCEL_OPTIONS, e.HealthStatusSchema, e.HfModelResolutionSchema, e.HistoryPointSchema, e.HistoryResolutionEnum, e.HumidifierStatusSchema, e.HumiditySensorStatusSchema, e.HvacModeSchema, e.INFERENCE_DEVICE_EXCLUSION_REASONS, e.ImageContractSchema, e.ImageContractStateSchema, e.ImageRotateSchema, e.ImageSettingsOptionsSchema, e.ImageSettingsPatchSchema, e.ImageSettingsStatusSchema, e.ImageStatusSchema, e.InferenceDeviceExclusionReasonSchema, e.IngestOwnerSchema, e.InstalledPackageSchema, e.IntegrationLiteSchema, e.IntegrationWithStateSchema, e.IntercomAbilitySchema, e.IntercomStatusSchema, e.KNOWN_CAP_NAMES, e.KeyEventSchema, e.LEGACY_READ_ONLY_CONFIG_KEY, e.LOAD_CONTRIBUTION_ATTRIBUTIONS, e.LOAD_CONTRIBUTION_ROLES, e.LOG_CHANNEL_TICK_MS, e.LOG_LEVEL_RANK, e.LabelAttributionSchema, e.LabelDefinitionSchema, e.LabelTierSchema, e.LawnMowerActivitySchema, e.LawnMowerControlStatusSchema, e.LedgerWalkDeviceReportSchema, e.LedgerWalkInputSchema, e.LedgerWalkRefusalSchema, e.LedgerWalkReportSchema, e.LedgerWalkSkipCountsSchema, e.LedgerWalkSkipReasonSchema, e.LegacyStorageLocationDefaultSchema, e.LinkedDeviceSchema, e.LinkedDevicesModeSchema, e.LlmDefaultSchema, e.LlmDefaultSelectorSchema, e.LlmDownloadProgressSchema, e.LlmErrorCodeSchema, e.LlmGenerateBaseInputSchema, e.LlmGenerateErrSchema, e.LlmGenerateOkSchema, e.LlmGenerateResultSchema, e.LlmImageSchema, e.LlmNodeModelSchema, e.LlmProfileKindDescriptorSchema, e.LlmProfileKindSchema, e.LlmProfileSchema, e.LlmRetryPolicySchema, e.LlmRuntimeCompleteInputSchema, e.LlmRuntimeDiskUsageSchema, e.LlmRuntimeNodeSchema, e.LlmRuntimeStatusSchema, e.LlmTimeoutDefaults, e.LlmUsageRollupSchema, e.LlmUsageSchema, e.LoadContributionSchema, e.LocateSegmentResultSchema, e.LocationStatSchema, e.LockControlStatusSchema, e.LockStateSchema, e.LogChannelApplyResultSchema, e.LogChannelDescriptorSchema, e.LogChannelGate, e.LogChannelLevelSchema, e.LogChannelRegistry, e.LogChannelWindowPatchSchema, e.LogChannelWindowSchema, e.LogChannelWindowStateSchema, e.LogEntrySchema, e.LogLevelSchema, e.LogStreamEntrySchema, e.LoggingEffectiveSchema, e.LoggingExplicitSchema, e.LoggingLevelLayerSchema, e.LoggingLevelSourceSchema, e.LoggingScopeKindSchema, e.LoggingSettingsPatchSchema, e.LoggingSettingsStateSchema, e.LoginMethodContributionSchema, e.LoginStageEnum, e.MACRO_LABELS, e.MAX_ARCHIVED_DEBUG_NOTES, e.MAX_BIRTH_DECISION_RECORDS, e.MAX_BIRTH_LATENCY_PROXY_MS, e.MAX_CLIP_EVENT_IDS, e.MAX_CLIP_LABELS, e.MAX_CONDITION_DEPTH, e.MAX_CONDITION_LEAVES, e.MAX_EXPRESSION_AST_NODES, e.MAX_EXPRESSION_BINDINGS, e.MAX_EXPRESSION_CALL_ARGS, e.MAX_EXPRESSION_EVAL_STEPS, e.MAX_EXPRESSION_SOURCE_LENGTH, e.MAX_KEYS, e.MAX_REASONS_PER_KEY, e.MAX_SENSOR_TRIGGER_DEVICES, e.MAX_TRACK_DEBUG_NOTE_LEN, e.MEDIA_OWNER_TYPES, e.METHOD_ACCESS_MAP, e.METHOD_DEVICE_SELECTORS, e.MODEL_FORMATS, e.MODEL_PROVIDER_IDS, e.MOTION_CLOSE_AFTER_MS, e.MOTION_TRIGGER_FEATURE, e.ManagedModelCatalogEntrySchema, e.ManagedModelExtraFileSchema, e.ManagedModelRefSchema, e.ManagedRuntimeConfigSchema, e.MaskGridDimsSchema, e.MaskGridShapeSchema, e.MaskLineShapeSchema, e.MaskPointSchema, e.MaskPolygonShapeSchema, e.MaskPolygonVerticesSchema, e.MaskRectShapeSchema, e.MaskShapeKindSchema, e.MaskShapeSchema, e.MediaFileInfoSchema, e.MediaFileKindEnum, e.MediaFileRefSchema, e.MediaFileSchema, e.MediaPlayerRepeatSchema, e.MediaPlayerStateSchema, e.MediaPlayerStatusSchema, e.MediaRelocateModeSchema, e.MeshPeerSchema, e.MeshStatusSchema, e.MethodAccessSchema, e.MigrateDeviceResultSchema, e.MigrateSwitchOutcomeSchema, e.MigrateSwitchReportSchema, e.ModelCatalogEntrySchema, e.ModelConvertInputSchema, e.ModelConvertMetadataSchema, e.ModelDistributeInputSchema, e.ModelDistributeResultSchema, e.ModelExtraFileSchema, e.ModelFormatEntrySchema, e.ModelFormatsSchema, e.ModelProviderIdSchema, e.ModelSubstitutionSchema, e.ModelVariantGroupSchema, e.MotionAnalysisResultSchema, e.MotionEventSchema, e.MotionOnMotionChangedDataSchema, e.MotionRegionSchema, e.MotionSourceEnum, e.MotionSourcesSchema, e.MotionStatusSchema, e.MotionTriggerRuntimeStateSchema, e.MotionTriggerStatusSchema, e.MotionZoneOptionsSchema, e.MotionZonePatchSchema, e.MotionZoneRegionSchema, e.MotionZoneStatusSchema, e.MqttBrokerStatusSchema, e.MutationFilterSchema, e.NATIVE_LEASE_ACTIVITY_FIELD, e.NATIVE_LEASE_ACTIVITY_KEY, e.NATIVE_LEASE_ADMISSION_FIELD, e.NATIVE_LEASE_ADMISSION_KEY, e.NATIVE_LEASE_BUDGET_FIELD, e.NATIVE_LEASE_BUDGET_KEY, e.NATIVE_LEASE_HOLD_FIELD, e.NATIVE_LEASE_HOLD_KEY, e.NATIVE_LEASE_SCENE_BUDGET_FIELD, e.NATIVE_LEASE_SCENE_BUDGET_KEY, e.NATIVE_LEASE_SECTION_ID, e.NATIVE_LEASE_TILE_BUDGET_FIELD, e.NATIVE_LEASE_TILE_BUDGET_KEY, e.NAVIGATION_ACTION_CATALOG, e.NAVIGATION_LIGHT_LEVEL_MAX, e.NAVIGATION_LIGHT_LEVEL_MIN, e.NC_ALARM_SYSTEM_EVENT_KINDS, e.NC_AUDIO_CONFIRM_HITS_DEFAULT, e.NC_AUDIO_CONFIRM_HITS_MAX, e.NC_AUDIO_CONFIRM_HITS_MIN, e.NC_AUDIO_CONFIRM_WINDOW_MAX_SEC, e.NC_AUDIO_CONFIRM_WINDOW_MIN_SEC, e.NC_AUDIO_CONFIRM_WINDOW_SEC_DEFAULT, e.NC_AUDIO_DBFS_FLOOR, e.NC_AUDIO_DB_MAX, e.NC_AUDIO_DB_MIN, e.NC_AUDIO_DB_OFFERED, e.NC_AUDIO_DB_STEP, e.NC_AUDIO_DEFAULTS, e.NC_AUDIO_HIT_PERCENT_MAX, e.NC_AUDIO_HIT_PERCENT_MIN, e.NC_AUDIO_SAMPLING_MAX_SEC, e.NC_AUDIO_SAMPLING_MIN_SEC, e.NC_AUDIO_SEED, e.NC_AUTHORABLE_SYSTEM_EVENT_KINDS, e.NC_BASE_CONDITION_KEYS, e.NC_CONDITION_CATALOG, e.NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, e.NC_CONFIRM_DEFAULT_TIMEOUT_MS, e.NC_CONFIRM_MAX_TIMEOUT_MS, e.NC_CONFIRM_MIN_TIMEOUT_MS, e.NC_DEFAULT_SNOOZE_MINUTES, e.NC_HISTORY_LIMIT_DEFAULT, e.NC_HISTORY_LIMIT_MAX, e.NC_MAX_PER_TRACK_IMMEDIATE, e.NC_OCCUPANCY_DEFAULTS, e.NC_RULE_EDITOR_SECTION_ORDER, e.NC_RULE_KIND_SPECS, e.NC_RULE_SECTIONS, e.NC_SNOOZE_MAX_MINUTES, e.NC_SYSTEM_DELIVERY, e.NC_SYSTEM_EVENT_FILTER_KEYS, e.NC_TAXONOMY, e.NETWORK_LINK_TYPES, e.NETWORK_LINK_UNKNOWN, e.NativeCropBboxSchema, e.NativeCropRefSchema, e.NativeCropResultSchema, e.NativeDetectionSchema, e.NativeLeaseAdmissionSchema, e.NativeLeaseSettingsSchema, e.NativeObjectClassEnum, e.NativeObjectDetectionRuntimeStateSchema, e.NativeObjectDetectionStatusSchema, e.NavigationActionEntrySchema, e.NavigationActionIdSchema, e.NavigationEntryKindSchema, e.NavigationFeaturesSchema, e.NavigationLightModeSchema, e.NavigationModeSchema, e.NavigationMoveCommandSchema, e.NavigationPointSchema, e.NavigationRuntimeStateSchema, e.NavigationStatusSchema, e.NcAlarmConfigSchema, e.NcAlarmModeCoverageSchema, e.NcAlarmSettingsPatchSchema, e.NcAlarmSettingsSchema, e.NcAlarmSkipReasonSchema, e.NcAlarmSkippedDeviceSchema, e.NcAudioConditionSchema, e.NcConditionDescriptorSchema, e.NcConditionsSchema, e.NcConfirmExpectSchema, e.NcConfirmSchema, e.NcCrossingSchema, e.NcDeliverySchema, e.NcDeviceStateConditionSchema, e.NcHistoryEntrySchema, e.NcHistoryFilterSchema, e.NcHistoryRecordKindSchema, e.NcHistoryStatusSchema, e.NcHistorySubjectSchema, e.NcMediaFrameSchema, e.NcMediaPolicySchema, e.NcOccupancyConditionSchema, e.NcPlateMatcherSchema, e.NcRuleActionSchema, e.NcRuleActionSequenceSchema, e.NcRuleActionsSchema, e.NcRuleInputSchema, e.NcRuleNotificationButtonSchema, e.NcRulePatchSchema, e.NcRuleSchema, e.NcRuleTargetSchema, e.NcSceneConditionSchema, e.NcScheduleSchema, e.NcScheduleWindowSchema, e.NcSnoozeInputSchema, e.NcSnoozeSchema, e.NcSnoozeScopeSchema, e.NcSnoozeSuppressedSchema, e.NcSystemEventConditionSchema, e.NcSystemEventKindSchema, e.NcTaxonomyEntrySchema, e.NcTaxonomySchema, e.NcTestResultSchema, e.NcThrottleGranularitySchema, e.NcThrottleSchema, e.NcZoneConditionSchema, e.NetworkAccessStatusSchema, e.NetworkAddressSchema, e.NetworkEndpointSchema, e.NetworkLinkStatusSchema, e.NotificationActionIconSchema, e.NotificationActionSchema, e.NotificationFormatSchema, e.NotificationSchema, e.NotifierStatusSchema, e.NumericSensorStatusSchema, e.OPERATOR_WRITTEN_STALE_MS, e.OPS_LOG_DEFAULT_LIMIT, e.OPS_LOG_RING_DEFAULT_MAX, e.OVERFLOW_REASON, e.OauthIntegrationDescriptorSchema, e.ObjectEventSchema, e.OpsLogDomainSchema, e.OpsLogEntrySchema, e.OpsLogOpSchema, e.OpsLogQueryInputSchema, e.OpsLogReasonSchema, e.OrchestratorMetricsSchema, e.OsdOverlayKindEnum, e.OsdOverlayPatchSchema, e.OsdOverlaySchema, e.OsdPositionEnum, e.OsdRenderOutcomeEnum, e.OsdRenderResultSchema, e.OsdSlotBindingSchema, e.OsdSlotViewSchema, e.OsdSourceOptionSchema, e.OsdSourceSchema, e.OsdSourceValueTypeEnum, e.OsdStatusSchema, e.PET_FEEDER_MANUAL_FEED_MAX, e.PET_FEEDER_MANUAL_FEED_MIN, e.PIPELINE_FLOW_CAPABILITY_NAMES, e.PIPELINE_OWNER_CAPABILITY_NAMES, e.PRIVACY_MASK_CAP_NAME, e.PROVIDER_KIND_CAP_NAMES, e.PYTHON_SCRIPT, e.PackageUpdateSchema, e.PackageVersionInfoSchema, e.ParkRefusalSchema, e.ParkTrackFrameResultSchema, e.ParkedFrameKindSchema, e.ParkedTrackFrameSchema, e.PasskeyLoginMethodSchema, e.PasskeySummarySchema, e.PcmSampleFormatSchema, e.PerScopeBreakdownSchema, e.PetFeederStatusSchema, e.PickStreamPreferencesSchema, e.PickStreamRequirementsSchema, e.PickedCamStreamSchema, e.PipelineAssignmentSchema, e.PipelineDefaultStepSchema, e.PipelineEngineChoiceSchema, e.PipelineRunResultBridge, e.PipelineStepInputSchema, e.PipelineValidationIssueSchema, e.PipelineValidationResultSchema, e.PlaceholderReasonSchema, e.PolygonPointSchema, e.PoolMemoryWatchdog, e.PowerMeterStatusSchema, e.PresenceStatusSchema, e.PressureSensorStatusSchema, e.PrivacyMaskOptionsSchema, e.PrivacyMaskPatchSchema, e.PrivacyMaskRegionSchema, e.PrivacyMaskShapeSchema, e.PrivacyMaskStatusSchema, e.ProfileRtspEntrySchema, e.ProfileSlotSchema, e.ProfileSlotStatusSchema, e.ProviderStatusSchema, e.PtzAutotrackRuntimeStateSchema, e.PtzAutotrackSettingsSchema, e.PtzAutotrackStatusSchema, e.PtzAutotrackTargetOptionSchema, e.PtzMoveCommandSchema, e.PtzOptionsSchema, e.PtzPositionSchema, e.PtzPresetSchema, e.PtzStatusSchema, e.QueryFilterSchema, e.RATE_CONTROL_RELAXED, e.RATE_CONTROL_TIGHT, e.REACHABILITY_FAILURES_TO_OFFLINE, e.REACHABILITY_POLL_INTERVAL_MS, e.REACHABILITY_PROBE_TIMEOUT_MS, e.RECOGNITION_TYPES, e.RECORDING_AUDIO_TRIGGER_OFFERED_DBFS, e.RECORDING_EXPORT_MAX_READ_BYTES, e.RECORDING_TIMELINE_BATCH_MAX, e.REDACTED_SECRET, e.RESERVED_BINDING_NAMES, e.RESTORED_CAP_NAMES, e.ROOT_BUCKET_KEY, e.RUNTIME_DEFAULTS, e.RUNTIME_STATE_POLICY, e.RUNTIME_STATE_REFRESH_MISS_COOLDOWN_MS, e.RUNTIME_TO_FORMAT, e.RawStateResultSchema, e.ReadGopBytesResultSchema, e.ReadSegmentBytesResultSchema, e.ReadWindowBytesResultSchema, e.ReadinessRegistry, e.ReadinessTimeoutError, e.RecentTracksPageSchema, e.RecentTracksQueryInput, e.RecordingAvailabilityForDeviceSchema, e.RecordingAvailabilitySchema, e.RecordingBandModeSchema, e.RecordingBandSchema, e.RecordingBandTriggersSchema, e.RecordingConfigSchema, e.RecordingDaysForDeviceSchema, e.RecordingDaysSchema, e.RecordingDeviceUsageSchema, e.RecordingLocationUsageSchema, e.RecordingManifestSchema, e.RecordingObjectTriggerClassSchema, e.RecordingRangeSchema, e.RecordingRebalanceInputSchema, e.RecordingRebalanceMoveSchema, e.RecordingRebalancePlanSchema, e.RecordingRebalanceSkipReasonSchema, e.RecordingRebalanceSkipSchema, e.RecordingRetentionSchema, e.RecordingSignalRuntimeStateSchema, e.RecordingSignalStatusSchema, e.RecordingStatusSchema, e.RecordingStorageModeSchema, e.RecordingStorageUsageSchema, e.RecordingTriggersSchema, e.RecordingWeekdaySchema, e.RedirectLoginMethodSchema, e.RelocatableMediaCountInputSchema, e.RelocatableMediaCountSchema, e.RelocateFootageClassSchema, e.RelocateFootageInputSchema, e.RelocateJobSchema, e.RelocateJobStateSchema, e.RelocateMediaInputSchema, e.RelocateResidueInputSchema, e.RelocateResidueSchema, e.RenderedAsSchema, e.ReportMotionInputSchema, e.ReportedFailureContributionSchema, e.ReportedLoadContributionSchema, e.RequestCensusGroupSchema, e.RequestCensusProcedureSchema, e.RequestCensusSnapshotSchema, e.RequestCensusStatusSchema, e.RetrainAnnotationDraftSchema, e.RetrainAnnotationKindSchema, e.RetrainAnnotationSchema, e.RetrainAnnotationSourceSchema, e.RetrainAssistResultSchema, e.RetrainAssistSubjectSchema, e.RetrainCopyRefusalSchema, e.RetrainFrameCandidateSchema, e.RetrainFrameListSchema, e.RetrainFrameSchema, e.RetrainFrameSelectionSchema, e.RetrainMacroClassSchema, e.RetrainStatusSchema, e.RetrainTrackSchema, e.RetrainTransitionResultSchema, e.RingBuffer, e.RtpSourceSchema, e.RtspRestreamEntrySchema, e.RunnerCameraConfigSchema, e.RunnerCameraDeviceUIFields, e.RunnerFrameSourceSchema, e.RunnerInferenceDeviceSchema, e.RunnerLocalLoadSchema, e.RunnerLocalMetricsSchema, e.SCENE_CONDITIONS, e.SCENE_CONFIRM_DEFAULT_MAX_IMAGE_PX, e.SCENE_CONFIRM_DEFAULT_TIMEOUT_MS, e.SCENE_DEFAULT_ANCHOR_THRESHOLD, e.SCENE_DEFAULT_CHECK_INTERVAL_SEC, e.SCENE_DEFAULT_OBSERVATION_SPACING_SEC, e.SCENE_DEFAULT_QUIET_SECONDS, e.SCENE_DEFAULT_UNCOVERED_POLICY, e.SCENE_DIVERGED, e.SCENE_RESET_RECAPTURES, e.SCOPE_PRESETS, e.SENSOR_FEATURES, e.SENSOR_MAP, e.SHARE_VIEW_KINDS, e.SOURCE_CAPS, e.SOURCE_CAP_ACTIVE_FIELD, e.SOURCE_CAP_CHANGED_AT_FIELD, e.SOURCE_DEVICE_TYPES, e.SOURCE_INFO_METADATA_KEY, e.STORAGE_ACCESS_FALLBACK, e.STORAGE_BYTES_PER_GB, e.STORAGE_LOCATION_MODES, e.STREAM_PROFILE_META, e.STREAM_QUALITY_LABELS, e.SUB_DETECTION_TYPES, e.SUMMARIES_DEFAULT_LIMIT, e.SUMMARIES_MAX_LIMIT, e.SYSTEM_CAP_NAMES, e.SYSTEM_SCOPE_DEVICE_METHODS, e.SceneCheckSchema, e.SceneConditionSchema, e.SceneConfirmSchema, e.SceneMonitorSchema, e.SceneMonitorStateSchema, e.SceneMonitorStatusForDeviceSchema, e.SceneMonitorStatusSchema, e.SceneReferenceSchema, e.SceneUnavailableSchema, e.SceneUncoveredPolicySchema, e.SceneVerdictSchema, e.ScopedTokenSchema, e.ScopedTokenSummarySchema, e.ScoredObjectEventSchema, e.ScriptRunnerStatusSchema, e.SearchResultSchema, e.SendEmailInputSchema, e.SendEmailResultSchema, e.SendResultSchema, e.SensorEventSchema, e.ServerBootModeSchema, e.ServerPackageStatusSchema, e.ServerRollbackInfoSchema, e.ServerUpdateActionResultSchema, e.ServerUpdateCheckResultSchema, e.ServerUpdateStateSchema, e.SetLoggingSettingsInputSchema, e.SetSiteLocationInputSchema, e.SettingsPatchSchema, e.SettingsRecordSchema, e.SettingsSchemaWithValuesSchema, e.SettingsUpdateResultSchema, e.ShmRingStatsSchema, e.SiteLocationSchema, e.SiteLocationSourceSchema, e.SiteLocationStatusSchema, e.SmokeStatusSchema, e.SmtpStatusSchema, e.SnapshotImageSchema, e.SourceInfoSchema, e.SpatialDetectionSchema, e.SsoBridgeClaimsSchema, e.StartEmbeddedInputSchema, e.StationaryObjectSchema, e.StorageAbortUploadInputSchema, e.StorageAccessSchema, e.StorageBeginDownloadInputSchema, e.StorageBeginDownloadResultSchema, e.StorageBeginUploadInputSchema, e.StorageBeginUploadResultSchema, e.StorageCleanupInputSchema, e.StorageCleanupJobSchema, e.StorageCleanupPhaseSchema, e.StorageCleanupStatusInputSchema, e.StorageDrainProgressSchema, e.StorageEndDownloadInputSchema, e.StorageEvictionPolicySchema, e.StorageFinalizeUploadInputSchema, e.StorageLocationDeclarationSchema, e.StorageLocationModeSchema, e.StorageLocationRefSchema, e.StorageLocationSchema, e.StorageLocationTypeSchema, e.StorageMigrationClassSchema, e.StorageMigrationDestinationsSchema, e.StorageMigrationDrainInputSchema, e.StorageMigrationFindingCodeSchema, e.StorageMigrationFindingSchema, e.StorageMigrationFootageMoveInputSchema, e.StorageMigrationInputSchema, e.StorageMigrationJobSchema, e.StorageMigrationLaneSchema, e.StorageMigrationLeaseInputSchema, e.StorageMigrationMediaMoveInputSchema, e.StorageMigrationModeSchema, e.StorageMigrationMoveProgressSchema, e.StorageMigrationMoveSchema, e.StorageMigrationMoverSchema, e.StorageMigrationParticipantSchema, e.StorageMigrationPhaseSchema, e.StorageMigrationPlanSchema, e.StorageMigrationResidueSchema, e.StorageMigrationSourcesSchema, e.StorageOccupancyReportSchema, e.StorageProviderInfoSchema, e.StorageReadChunkInputSchema, e.StorageTestLocationResultSchema, e.StorageWriteChunkInputSchema, e.StreamCodecSchema, e.StreamFormatSchema, e.StreamNetworkStatsSchema, e.StreamParamsOptionsSchema, e.StreamParamsStatusSchema, e.StreamProfileConfigSchema, e.StreamProfileOptionsSchema, e.StreamProfilePatchSchema, e.StreamProfileSchema, e.StreamSourceEntrySchema, e.StreamSourceSchema, e.SubscribeAudioChunksInputSchema, e.SubscribeAudioChunksResultSchema, e.SubscribeFramesInputSchema, e.SubscribeFramesResultSchema, e.SummarySchema, e.SwitchStatusSchema, e.SystemMetricsSchema, e.SystemMirror, e.TAXONOMY_COLORS, e.TIMELAPSE_DENSE_FLOOR_SEC, e.TIMEZONES, e.TRANSCODE_DOWN_MAX_BITRATE_KBPS, e.TRANSCODE_DOWN_MAX_HEIGHT, e.TamperStatusSchema, e.TankStatusSchema, e.TargetKindCapsSchema, e.TargetKindLevelSchema, e.TargetKindSchema, e.TargetSchema, e.TemperatureSensorStatusSchema, e.TerminalInstanceInfoSchema, e.TerminalLegacyCameraSchema, e.TerminalOutputBatchSchema, e.TerminalOutputEventSchema, e.TerminalProfileInfoSchema, e.TerminalSessionInfoSchema, e.TestConnectionResultSchema, e.TestConnectionStatusEnum, e.TestResultSchema, e.TimelapseRuleInputSchema, e.TimelapseRulePatchSchema, e.TimelapseRuleSchema, e.TimelapseTemplateSchema, e.ToastSchema, e.TokenScopeSchema, e.TopologyNodeSchema, e.TopologyProcessSchema, e.TopologyServiceSchema, e.TrackCascadeCountsSchema, e.TrackEnvelopeSchema, e.TrackFlagsPatchSchema, e.TrackFlagsSchema, e.TrackProjectionSchema, e.TrackSchema, e.TrackSourceSchema, e.TrackStateSchema, e.TrackZoneFilterSchema, e.TrackedDetectionSchema, e.TrainingExportDeviceTotalsSchema, e.TrainingExportSummarySchema, e.TransportPlaneCountsSchema, e.TransportPlaneSchema, e.TurnServerSchema, e.UNATTRIBUTED_BUCKET_KEY, e.UNIT_TABLE, e.UnifiedBrokerInfoSchema, e.UnitConversionError, e.UnstampedEventMediaCountSchema, e.UnstampedRowsSchema, e.UpdateIntegrationInputSchema, e.UpdateStatusSchema, e.UpdateUserInputSchema, e.UserRecordSchema, e.UserSummarySchema, e.VISIT_MERGE_GAP_MS, e.VacuumControlStatusSchema, e.VacuumStateSchema, e.ValveStateSchema, e.ValveStatusSchema, e.VectorDeclareIndexInputSchema, e.VectorDeleteByFilterInputSchema, e.VectorDeleteInputSchema, e.VectorDeleteResultSchema, e.VectorFilterSchema, e.VectorGetInputSchema, e.VectorGetResultSchema, e.VectorItemSchema, e.VectorMatchSchema, e.VectorMetadataSchema, e.VectorMetricSchema, e.VectorQueryInputSchema, e.VectorQueryResultSchema, e.VectorStatsInputSchema, e.VectorStatsResultSchema, e.VectorUpsertInputSchema, e.VectorUpsertResultSchema, e.VibrationStatusSchema, e.VideoEncodeSchema, e.WEBRTC_EGRESS_PROFILE, e.WELL_KNOWN_TABS, e.WELL_KNOWN_TAB_MAP, e.WaterHeaterStatusSchema, e.WeatherStatusSchema, e.WebrtcStreamChoiceSchema, e.WebrtcStreamTargetSchema, e.WhiteBalanceModeSchema, e.WidgetHostEnum, e.WidgetLoginMethodSchema, e.WidgetMetadataSchema, e.WidgetRemoteSchema, e.WidgetSizeEnum, e.WrapperEvidenceSchema, e.WrapperIdentitySchema, e.WrapperKindSchema, e.YAMNET_TO_MACRO, e.ZoneCrossingDirectionSchema, e.ZoneCrossingSchema, e.ZoneKindEnum, e.ZoneRuleModeEnum, e.ZoneRuleSchema, e.ZoneRuleStageEnum, e.ZoneRulesArraySchema, e.ZoneSchema, e.ZoneScopeBreakdownSchema, e.__resetLogChannelRegistryForTests, e.accessoriesCapability, e.accessoryStableId, e.addonPagesCapability, e.addonPagesSourceCapability, e.addonRoutesCapability, e.addonSettingsCapability, e.addonWidgetsCapability, e.addonWidgetsSourceCapability, e.addonsCapability, e.adminUiCapability, e.airQualitySensorCapability, e.alarmPanelCapability, e.alertsCapability, e.ambientLightSensorCapability, e.asBoolean, e.asJsonArray, e.asJsonObject, e.asNumber, e.asString, e.assertTimelapseCadences, e.audioAnalysisCapability, e.audioAnalyzerCapability, e.audioChunkBytesPerSample, e.audioCodecCapability, e.audioIsFailClosed, e.audioKindId, e.audioLabelChoices, e.audioMetricsCapability, e.audioModeOf, e.audioOrDefaults, e.audioPlanFromEncodeProfile, e.audioScaleEraOf, e.authProviderCapability, e.autoAssignProfiles, e.automationControlCapability, e.backupCapability, e.bareAddonId, e.batteryCapability, e.bestLocationMatch, e.binaryCapability, e.bindAddonActions, e.brightnessCapability, e.brokerCapability, e.buildAddonRouteProvider, e.buildAudioArgs, e.buildEventKindDescriptor, e.buildFfmpegArgs, e.buildInputArgs, e.buildModelVariantGroups, e.buildNcTaxonomy, e.buildRoleScopes, e.buildStreamParamsConfigSchema, e.buildVideoArgs, e.buttonCapability, e.cameraCredentialsCapability, e.cameraPipelineConfigCapability, e.cameraStreamsCapability, e.canConvertUnit, e.canonicalEgressPlan, e.carbonMonoxideCapability, e.cellsToRects, e.classifyBearerPrincipal, e.classifyStream, e.classifyStreams, e.climateControlCapability, e.clusterModelSettingKey, e.clusterStepSettingFieldsFor, e.clusterStepSettingKey, e.collectHydratedFieldEntries, e.collectHydratedFieldValues, e.collectSecretConfigKeys, e.colorCapability, e.colorForKind, e.commitWatchdogRestart, e.compileExpression, e.compileExpressionSafe, e.composeSwitchedOff, e.conditionDepth, e.conditionExclusionReason, e.conditionVisibleForKind, e.connectionTestCapability, e.connectivityCapability, e.consumablesCapability, e.contactCapability, e.controlCapability, e.convertUnit, e.coreBlockAddonId, e.coreBlockIdFromAddonId, e.coreBlocksCapability, e.cosineSimilarity, e.countConditionLeaves, e.coverCapability, e.createDeviceProxy, e.createDurableState, e.createEvent, e.createEventBusSliceSource, e.createExpressionScope, e.createHwAccelCache, e.createLazyTrpcSource, e.createLogChannelsProvider, e.createMirrorSource, e.createRuntimeStateBridge, e.createSliceHandle, e.createSystemProxy, e.customAction, e.customModelRegistryCapability, e.dataStoreProviderCapability, e.dayNightCapability, e.declarationOwnerNodeId, e.declareLogChannel, e.decodeVectorBase64, e.decoderCapability, e.defaultDeliveryForSection, e.defaultDeviceFor, e.defineCustomActions, e.deriveBatteryPresence, e.deriveCameraSwitches, e.deriveDetailCropRect, e.deriveRecordingMode, e.describeCustomActions, e.describeModelVariant, e.detectAccessRole, e.detectionPipelineCapability, e.deviceAdoptionCapability, e.deviceBackendToFormat, e.deviceCustomAction, e.deviceDiscoveryCapability, e.deviceExportCapability, e.deviceManagerCapability, e.deviceMatchesProfile, e.deviceOpsCapability, e.deviceProviderCapability, e.deviceSelectorMatches, e.deviceStateCapability, e.deviceStatusCapability, e.doorbellCapability, e.droppedConditionsForKind, e.egressTranscodeSharingKey, e.egressTransportFromRequest, e.embeddingEncoderCapability, e.emitDownForOwnedCaps, e.emitReadiness, e.encodeProfileFromStreamShape, e.encodeVectorBase64, e.enumSensorCapability, e.enumerateInferenceDevices, e.enumerateItemArrayFields, e.enumerateSchemaFields, e.errMsg, e.evaluateAst, e.evaluateExpressionSource, e.evaluatePoolMemory, e.evaluateSensorEdge, e.evaluateZoneRules, e.event, e.eventEmitterCapability, e.eventsCapability, e.evictionPolicyForMode, e.evictionPolicyOfLocation, e.expandAudioChunkToF32le, e.expandCapMethods, e.extractNestedAddonId, e.extractSourceInfoFromMetadata, e.faceGalleryCapability, e.failureContributionCapability, e.failureRate, e.fanControlCapability, e.featureProbeCapability, e.filesystemBrowseCapability, e.findTimezone, e.floodCapability, e.foldSnapshotByFunction, e.formatForBackend, e.formatForRuntime, e.formatMediaOwnerKey, e.gasCapability, e.gbToBytes, e.generateAutomationBlock, e.getAudioMacroClassIds, e.getByPath, e.getCapsByProviderKind, e.getLogChannelRegistry, e.getTaxonomyEntry, e.hasMotionTrigger, e.hfModelUrl, e.htmlToText, e.humidifierCapability, e.humiditySensorCapability, e.hydrateSchema, e.imageCapability, e.imageSettingsCapability, e.inferModelProvider, e.initialPoolMemoryState, e.integrationsCapability, e.intercomCapability, e.invocationFromEncodeProfile, e.isAgentOnlyPlacement, e.isArrayOutputSchema, e.isAudioChunkFormat, e.isAudioLabelSelected, e.isAudioRule, e.isBaseConditionKey, e.isBatteryPresenceFault, e.isClusterScopedStep, e.isCollectionArrayMethod, e.isDeployableToAgent, e.isDetectionMacroClass, e.isDeviceConfigCap, e.isDeviceScopedCap, e.isEvent, e.isEventOwnerType, e.isFirstLevelMacroClass, e.isIsolatedBuiltin, e.isLocationEnabled, e.isNode, e.isObjectInput, e.isOccupancyRule, e.isRestoredCap, e.isSameAddonId, e.isScheduleActive, e.isSecretConfigField, e.isSoftwareDecode, e.isSourceCap, e.isStorageLocationMode, e.isSystemDelivery, e.isVoidInput, e.ituDbfsFromPreEpoch, e.jobKindSchema, e.kebabToCamel, e.knownValues, e.lawnMowerControlCapability, e.legacyModeOf, e.lifecycleJobSchema, e.lifecycleJobScopeSchema, e.lifecycleJobStateSchema, e.lifecycleTaskSchema, e.llmCapability, e.llmRuntimeCapability, e.loadContributionCapability, e.localNetworkCapability, e.locationSimilarity, e.lockControlCapability, e.logBannerArgs, e.logChannelsCapability, e.logDestinationCapability, e.logLevelAtMost, e.loginMethodCapability, e.looseSchema, e.makeProfileBrokerId, a = e.makeSourceBrokerId, e.mapAudioLabelToMacro, e.markdownToHtmlLite, e.markdownToText, e.maskUrlCredentials, e.mayReadLocation, e.mayWriteToLocation, e.mediaPlayerCapability, e.mergeSourceInfo, e.meshNetworkCapability, e.method, e.methodAccessForHttpMethod, e.metricsProviderCapability, e.migrateLegacyDeviceSignalConfig, e.modeMayRead, e.modeMayWrite, e.modelConvertCapability, e.modelDistributorCapability, e.modelFormatForRuntime, e.motionCapability, e.motionDetectionCapability, e.motionTriggerCapability, e.motionZonesCapability, e.mqttBrokerCapability, e.nativeObjectDetectionCapability, e.navigationCapability, e.networkAccessCapability, e.networkLinkCapability, e.networkQualityCapability, e.nodePin, e.nodesCapability, e.normalizeAddonInitResult, e.normalizeAudioLabel, e.normalizeTokenScopes, e.normalizeUnit, e.notificationOutputCapability, e.notificationRulesCapability, e.notifierCapability, e.numericSensorCapability, e.oauthIntegrationCapability, e.objectInputDeclaresAddonId, e.osdCapability, e.osdManagerCapability, e.overlayClusterStepSettings, e.parseCameraStreamConfig, e.parseExpression, e.parseJsonArray, e.parseJsonObject, e.parseJsonUnknown, e.parseMediaOwnerKey, e.parseProcStatus, e.parseProfileBrokerId, e.parseRuleSection, e.parseStreamParamsFormPatch, e.patchAudio, e.petFeederCapability, e.pickAccessoryControl, e.pickClusterStepModels, e.pickClusterStepSettings, e.pickDetailCropConvention, e.pickNativeLeaseOverride, e.pickPreferredRtspEntry, e.pickRestartCandidate, e.pickVideoEncoder, e.pickerForCondition, e.pipelineAnalyticsCapability, e.pipelineExecutorCapability, e.pipelineOrchestratorCapability, e.pipelineRunnerCapability, e.plateGalleryCapability, e.platformProbeCapability, e.poolMemoryThreshold, e.powerMeterCapability, e.prepareNotification, e.presenceCapability, e.pressureSensorCapability, e.principalMayReachAddon, e.privacyMaskCapability, e.procedureAuthKey, e.ptzAutotrackCapability, e.ptzCapability, e.pythonScriptForBackend, e.readClusterStepModels, e.readClusterStepSettings, e.readDetailCropConvention, e.readDeviceStateFrom, e.readNativeLeaseOverride, e.readNodePin, e.readTimelapseGeneratedAt, e.readinessKey, e.rebootCapability, e.recordingCapability, e.recordingExportCapability, e.recordingSignalCapability, e.rectsToCells, e.reducePoints, e.requiresPython, e.resetPoolBaseline, e.resolveAddonExecution, e.resolveAddonGroup, e.resolveAddonPlacement, e.resolveAddonRuntime, e.resolveBucketMs, e.resolveCapMount, e.resolveClusterStepModelId, e.resolveContainerPrimaryChild, e.resolveDetectionRuntime, e.resolveDeviceControlKind, e.resolveDeviceProfile, e.resolveEgressDecodeHwAccel, e.resolveFormat, e.resolveHydratedFieldValue, e.resolveLocationMode, e.resolveMethodAuth, e.resolveModelFormat, e.resolveMutate, e.resolvePoolMemoryPolicy, e.resolveRecordingProfiles, e.resolveRunnerId, e.resolveVariantModelId, e.resolveViewableDeviceIds, e.roleSpec, e.ruleEditorSectionsForKind, e.ruleKindOf, e.ruleKindSpec, e.ruleMatchesSection, e.ruleSection, e.ruleSectionOf, e.ruleSeedForSection, e.runInferenceStep, e.runtimeDevices, e.runtimeStatePolicyFor, e.sceneMonitorCapability, e.schemaDeclaresAnyField, e.scopeInherits, e.scopeKey, e.scopesAllowAddon, e.scopesAllowDeviceCap, e.scoreRuntimes, e.scriptRunnerCapability, e.selectAssignedProfileSlots, e.serverManagementCapability, e.setByPath, e.settingsStoreCapability, e.signalPercentFromBars, e.signalPercentFromRssi, e.sleep, e.sleepCancellable, e.sliceActiveValue, e.sliceChangedAt, e.smokeCapability, e.smtpProviderCapability, e.snapshotCapability, e.ssoBridgeCapability, e.startReachabilityPoll, e.stateVocabularyFor, e.storageCapability, e.storageEvictableCapability, e.storageMigrationCapability, e.storageOccupancyCapability, e.storageProviderCapability, e.streamBrokerCapability, e.streamCatalogCapability, e.streamParamsCapability, e.streamPixels, e.streamQualityLabel, e.stripRetiredBandPreBufferSec, e.strippedOfLegacyReadOnly, e.subKindsOf, e.summarisePrivacyAudio, e.summarizeEffectiveScope, e.supportedRuntimes, e.switchCapability, e.switchedOffIds, e.synthesizeSourceInfo, e.systemCapability, e.systemEventFilterApplies, e.systemEventFilterAppliesToAnyKind, e.tamperCapability, e.taskLogEntrySchema, e.taskPhaseSchema, e.taskTargetSchema, e.temperatureSensorCapability, e.terminalSessionCapability, e.textToHtml, e.toDeviceSummary, e.toExpressionValue, e.toNodeId, e.toStreamSourceEntry, e.toastCapability, e.toggleAudioLabel, e.tokenize, e.transcodeBody, e.tryConvertUnit, e.turnProviderCapability, e.unitDimension, e.unitsForDimension, e.updateCapability, e.userManagementCapability, e.userPasskeysCapability, e.vacuumControlCapability, e.validateExpressionSource, e.validateRecipeBounds, e.valveCapability, e.vectorDimFromBase64, e.vectorStoreCapability, e.vibrationCapability, e.videoclipsCapability, e.viewerUiCapability, e.waterHeaterCapability, e.weatherCapability, e.webrtcClientHintsSchema, e.webrtcSessionCapability, e.wiringAddonHealthSchema, e.wiringHealthSnapshotSchema, e.wiringNodeHealthSchema, e.wiringProbeKindSchema, e.wiringProbeResultSchema, e.withLocationMode, e.zodEntriesToConfigUI, e.zoneAnalyticsCapability, e.zoneRulesCapability, e.zonesCapability, e.default;
20
- }, s = i.share["default:@camstack/types"];
21
- s === void 0 ? n.then(() => {
22
- if (s = i.share["default:@camstack/types"], s === void 0) throw Error("[Module Federation] Shared module @camstack/types was imported before federation bootstrap finished.");
23
- o(s);
24
- }) : o(s);
25
- //#endregion
26
- export { a as t };