@camstack/addon-pipeline 1.2.220 → 1.2.222
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/audio-analyzer/index.js +614 -4
- package/dist/audio-analyzer/index.mjs +614 -4
- package/dist/{default-detection-model-x6oNMBDH.js → default-detection-model-B7kn9xHR.js} +1 -1
- package/dist/{default-detection-model-DBNEc3iw.mjs → default-detection-model-BSX8cVHY.mjs} +1 -1
- package/dist/detection-pipeline/index.js +4 -4
- package/dist/detection-pipeline/index.mjs +4 -4
- package/dist/{dist-ClihWGOZ.mjs → dist-BNzfbpF6.mjs} +294 -5
- package/dist/{dist-ByPsWlTa.js → dist-DZsjVFey.js} +311 -4
- package/dist/motion-wasm/index.js +1 -1
- package/dist/motion-wasm/index.mjs +1 -1
- package/dist/{node-CNPnaux4.js → node-BhQ8dDQC.js} +1 -1
- package/dist/{node-DiaTmz84.mjs → node-uYIx2aZF.mjs} +1 -1
- package/dist/pipeline-runner/index.js +123 -20
- package/dist/pipeline-runner/index.mjs +123 -20
- package/dist/{process-memory-9KqRtUHt.js → process-memory-BozKb5-g.js} +1 -1
- package/dist/{process-memory-D4t8hpJd.mjs → process-memory-CkoLpOV-.mjs} +1 -1
- package/dist/recorder/index.js +12 -6
- package/dist/recorder/index.mjs +12 -6
- package/dist/{segment-demux-js-CZefXDLx.js → segment-demux-js-Cvszh55p.js} +1 -1
- package/dist/{segment-demux-js-CFFXVae4.mjs → segment-demux-js-Dh1dn_AT.mjs} +1 -1
- package/dist/stream-broker/_stub.js +2 -2
- package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-CtdpN7Sz.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BZG3prqU.mjs} +3 -3
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-CyMYDKfM.mjs +26 -0
- package/dist/stream-broker/{_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-DICVQkNi.mjs → _virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-CKUGpDns.mjs} +1 -1
- package/dist/stream-broker/demux-worker-child.js +1 -1
- package/dist/stream-broker/demux-worker-child.mjs +1 -1
- package/dist/stream-broker/{hostInit-McoUiljf.mjs → hostInit-Cyo0CFo3.mjs} +3 -3
- package/dist/stream-broker/index.js +222 -102
- package/dist/stream-broker/index.mjs +222 -102
- package/dist/stream-broker/remoteEntry.js +1 -1
- package/package.json +1 -1
- package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-7hqrrd88.mjs +0 -26
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as __toESM } from "../chunk-DnnnRqeS.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { i as NO_COST_CLAIM, n as Fmp4FragmentChild, r as Fmp4FragmentPlane, t as ChildCostRegistry } from "../node-
|
|
2
|
+
import { $t as makeProfileBrokerId, B as declareLogChannel, Bt as buildFfmpegArgs$1, Et as resolveEgressDecodeHwAccel, F as batteryCapability, Gt as CAM_PROFILE_ORDER, Ht as isSoftwareDecode, I as cameraStreamsCapability, It as webrtcSessionCapability, J as egressTransportFromRequest, Kt as DeviceFeature, L as createHwAccelCache, Lt as errMsg, Nt as streamBrokerCapability, Qt as isEvent, R as createLogChannelsProvider, Rt as AUDIO_PRESETS, T as RATE_CONTROL_TIGHT, U as deriveBatteryPresence, Ut as BOOT_RECOVERY_BACKOFF_MS, Vt as invocationFromEncodeProfile, Wt as BaseAddon, Xt as expandAudioChunkToF32le, Yt as createEvent, _n as union, at as loadContributionCapability, cn as boolean, ct as maskUrlCredentials, dn as literal, en as makeSourceBrokerId, fn as number, gn as string, h as EncodeProfileSchema, hn as record, i as BatteryStatusSchema, j as addonWidgetsSourceCapability, k as RingBuffer, ln as discriminatedUnion, on as _enum, ot as logChannelsCapability, pn as object, q as egressTranscodeSharingKey, qt as DeviceType, rn as parseProfileBrokerId, sn as array, tn as nodePin, v as G711_SCALE_CORRECTION_DB, vn as EventCategory, w as RATE_CONTROL_RELAXED } from "../dist-BNzfbpF6.mjs";
|
|
3
|
+
import { i as NO_COST_CLAIM, n as Fmp4FragmentChild, r as Fmp4FragmentPlane, t as ChildCostRegistry } from "../node-uYIx2aZF.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-
|
|
7
|
+
import { i as require_mp4box_all, n as demuxSegmentPreferJs, r as runFfmpegOnce, t as demuxSegmentFullJs } from "../segment-demux-js-Dh1dn_AT.mjs";
|
|
8
8
|
import { createRequire } from "node:module";
|
|
9
9
|
import * as os from "node:os";
|
|
10
10
|
import { networkInterfaces, tmpdir } from "node:os";
|
|
@@ -8379,106 +8379,72 @@ function depacketizeRfc3640(payload, opts = {
|
|
|
8379
8379
|
//#region src/stream-broker/rtsp/audio-rtp-decoder.ts
|
|
8380
8380
|
/** G.711 is 8 kHz by definition (RFC 3551): the plane carries that rate. */
|
|
8381
8381
|
var G711_SAMPLE_RATE = 8e3;
|
|
8382
|
-
|
|
8382
|
+
/** One G.711 byte is one sample, so samples and bytes are the same count. */
|
|
8383
|
+
var CHUNK_BYTES = G711_SAMPLE_RATE * 500 / 1e3;
|
|
8384
|
+
/** The chunk `format` each RTP codec produces. */
|
|
8385
|
+
var CODEC_FORMAT = {
|
|
8386
|
+
PCMU: "pcmu",
|
|
8387
|
+
PCMA: "pcma"
|
|
8388
|
+
};
|
|
8383
8389
|
/**
|
|
8384
|
-
*
|
|
8390
|
+
* Chunks G.711 audio RTP payloads into ~0.5 s coded chunks at 8 kHz.
|
|
8385
8391
|
*
|
|
8386
|
-
* Buffers
|
|
8387
|
-
* accumulated (4000
|
|
8392
|
+
* Buffers payload bytes and emits a `DecodedAudioChunk` carrying the source
|
|
8393
|
+
* codec once ~0.5 s has accumulated (4000 bytes).
|
|
8388
8394
|
*/
|
|
8389
8395
|
var AudioRtpDecoder = class {
|
|
8390
|
-
|
|
8396
|
+
format;
|
|
8391
8397
|
onChunk;
|
|
8392
8398
|
buffer;
|
|
8393
8399
|
bufferOffset = 0;
|
|
8394
8400
|
constructor(codec, onChunk) {
|
|
8395
|
-
this.
|
|
8401
|
+
this.format = CODEC_FORMAT[codec];
|
|
8396
8402
|
this.onChunk = onChunk;
|
|
8397
|
-
this.buffer =
|
|
8403
|
+
this.buffer = Buffer.allocUnsafe(CHUNK_BYTES);
|
|
8398
8404
|
}
|
|
8399
8405
|
/**
|
|
8400
|
-
* Process a raw RTP packet (header + payload).
|
|
8401
|
-
*
|
|
8402
|
-
*
|
|
8406
|
+
* Process a raw RTP packet (header + payload). Strips the 12-byte RTP header
|
|
8407
|
+
* and appends the payload bytes verbatim, emitting whenever a chunk fills.
|
|
8408
|
+
* A payload larger than the remaining room spans chunks.
|
|
8403
8409
|
*/
|
|
8404
8410
|
processPacket(rtpData) {
|
|
8405
8411
|
if (rtpData.length <= 12) return;
|
|
8406
8412
|
const payload = rtpData.subarray(12);
|
|
8407
|
-
|
|
8408
|
-
|
|
8413
|
+
let consumed = 0;
|
|
8414
|
+
while (consumed < payload.length) {
|
|
8415
|
+
const room = CHUNK_BYTES - this.bufferOffset;
|
|
8416
|
+
const take = Math.min(room, payload.length - consumed);
|
|
8417
|
+
payload.copy(this.buffer, this.bufferOffset, consumed, consumed + take);
|
|
8418
|
+
this.bufferOffset += take;
|
|
8419
|
+
consumed += take;
|
|
8420
|
+
if (this.bufferOffset >= CHUNK_BYTES) this.emit();
|
|
8421
|
+
}
|
|
8409
8422
|
}
|
|
8410
|
-
/** Flush any remaining buffered
|
|
8423
|
+
/** Flush any remaining buffered bytes as a partial chunk. */
|
|
8411
8424
|
flush() {
|
|
8412
8425
|
if (this.bufferOffset === 0) return;
|
|
8413
|
-
|
|
8426
|
+
this.emit();
|
|
8427
|
+
}
|
|
8428
|
+
/** Reset the chunker state. */
|
|
8429
|
+
reset() {
|
|
8430
|
+
this.bufferOffset = 0;
|
|
8431
|
+
}
|
|
8432
|
+
/**
|
|
8433
|
+
* Emit what is buffered and start a fresh chunk. The bytes are COPIED out:
|
|
8434
|
+
* the accumulator is reused, and the plane holds every queued chunk by
|
|
8435
|
+
* reference until its consumer polls.
|
|
8436
|
+
*/
|
|
8437
|
+
emit() {
|
|
8414
8438
|
this.onChunk({
|
|
8415
|
-
data: Buffer.from(
|
|
8439
|
+
data: Buffer.from(this.buffer.subarray(0, this.bufferOffset)),
|
|
8416
8440
|
sampleRate: G711_SAMPLE_RATE,
|
|
8417
8441
|
channels: 1,
|
|
8418
|
-
timestamp: Date.now()
|
|
8442
|
+
timestamp: Date.now(),
|
|
8443
|
+
format: this.format
|
|
8419
8444
|
});
|
|
8420
8445
|
this.bufferOffset = 0;
|
|
8421
8446
|
}
|
|
8422
|
-
/** Reset the decoder state. */
|
|
8423
|
-
reset() {
|
|
8424
|
-
this.bufferOffset = 0;
|
|
8425
|
-
}
|
|
8426
|
-
pushSample(sample) {
|
|
8427
|
-
this.buffer[this.bufferOffset++] = sample;
|
|
8428
|
-
if (this.bufferOffset >= CHUNK_SAMPLES) {
|
|
8429
|
-
const data = Buffer.from(this.buffer.buffer, this.buffer.byteOffset, CHUNK_SAMPLES * 4);
|
|
8430
|
-
this.onChunk({
|
|
8431
|
-
data: Buffer.from(data),
|
|
8432
|
-
sampleRate: G711_SAMPLE_RATE,
|
|
8433
|
-
channels: 1,
|
|
8434
|
-
timestamp: Date.now()
|
|
8435
|
-
});
|
|
8436
|
-
this.bufferOffset = 0;
|
|
8437
|
-
}
|
|
8438
|
-
}
|
|
8439
8447
|
};
|
|
8440
|
-
/** μ-law compressed byte → normalized float [-1.0, 1.0]. */
|
|
8441
|
-
function decodeUlaw(byte) {
|
|
8442
|
-
return ULAW_TABLE[byte];
|
|
8443
|
-
}
|
|
8444
|
-
/** A-law compressed byte → normalized float [-1.0, 1.0]. */
|
|
8445
|
-
function decodeAlaw(byte) {
|
|
8446
|
-
return ALAW_TABLE[byte];
|
|
8447
|
-
}
|
|
8448
|
-
/**
|
|
8449
|
-
* Build the μ-law decode table (ITU-T G.711).
|
|
8450
|
-
* Each of the 256 possible byte values maps to a 16-bit PCM sample,
|
|
8451
|
-
* which we normalize to [-1.0, 1.0] for f32le output.
|
|
8452
|
-
*/
|
|
8453
|
-
function buildUlawTable() {
|
|
8454
|
-
const table = new Float32Array(256);
|
|
8455
|
-
for (let i = 0; i < 256; i++) {
|
|
8456
|
-
const complemented = ~i & 255;
|
|
8457
|
-
const sign = (complemented & 128) !== 0 ? -1 : 1;
|
|
8458
|
-
const exponent = complemented >> 4 & 7;
|
|
8459
|
-
table[i] = sign * ((2 * (complemented & 15) + 33 << exponent) - 33) / 32768;
|
|
8460
|
-
}
|
|
8461
|
-
return table;
|
|
8462
|
-
}
|
|
8463
|
-
/**
|
|
8464
|
-
* Build the A-law decode table (ITU-T G.711).
|
|
8465
|
-
*/
|
|
8466
|
-
function buildAlawTable() {
|
|
8467
|
-
const table = new Float32Array(256);
|
|
8468
|
-
for (let i = 0; i < 256; i++) {
|
|
8469
|
-
const xored = i ^ 85;
|
|
8470
|
-
const sign = (xored & 128) !== 0 ? -1 : 1;
|
|
8471
|
-
const exponent = xored >> 4 & 7;
|
|
8472
|
-
const mantissa = xored & 15;
|
|
8473
|
-
let magnitude;
|
|
8474
|
-
if (exponent === 0) magnitude = 2 * mantissa + 1;
|
|
8475
|
-
else magnitude = 2 * mantissa + 33 << exponent - 1;
|
|
8476
|
-
table[i] = sign * magnitude / 32768;
|
|
8477
|
-
}
|
|
8478
|
-
return table;
|
|
8479
|
-
}
|
|
8480
|
-
var ULAW_TABLE = buildUlawTable();
|
|
8481
|
-
var ALAW_TABLE = buildAlawTable();
|
|
8482
8448
|
//#endregion
|
|
8483
8449
|
//#region src/stream-broker/rtsp/ffmpeg-source-reader.ts
|
|
8484
8450
|
/**
|
|
@@ -9476,6 +9442,47 @@ function extractQuoted(header, key) {
|
|
|
9476
9442
|
*/
|
|
9477
9443
|
var AUDIO_QUEUE_CAPACITY = 64;
|
|
9478
9444
|
/**
|
|
9445
|
+
* How long a subscription may go without a `pull` before the plane releases it
|
|
9446
|
+
* (D461).
|
|
9447
|
+
*
|
|
9448
|
+
* Until 2026-09-11 the one subscriber was `pipeline-orchestrator`, which the
|
|
9449
|
+
* hub restarts alongside the broker, and an abandoned subscription was a
|
|
9450
|
+
* theoretical leak. D461 moved the poller into `audio-analyzer`, which may sit
|
|
9451
|
+
* on another node and may die without the orchestrator's detach ever
|
|
9452
|
+
* arriving — and on THIS plane an orphan is not merely a queue nobody drains.
|
|
9453
|
+
* `subscriberCount` is what `hasDemand()` reads, so one orphan pins the
|
|
9454
|
+
* broker's source dial and its decode session open for the broker's whole
|
|
9455
|
+
* life: a camera nobody is listening to, kept streaming and decoding by a dead
|
|
9456
|
+
* process.
|
|
9457
|
+
*
|
|
9458
|
+
* The bound has to clear the longest LEGITIMATE gap between two polls. The
|
|
9459
|
+
* poller awaits its consumer per chunk, and the consumer is now the classifier
|
|
9460
|
+
* itself, whose `classify` carries a 30 s timeout — so a gap of tens of
|
|
9461
|
+
* seconds is healthy. Two minutes is past every one of those and well past the
|
|
9462
|
+
* ~30 s of audio the FIFO can hold, so a subscription this idle has already
|
|
9463
|
+
* lost audio and cannot be serving anyone.
|
|
9464
|
+
*/
|
|
9465
|
+
var AUDIO_SUBSCRIPTION_IDLE_MS = 12e4;
|
|
9466
|
+
/** `format` is optional on the wire and its absence means `f32le` (D455). */
|
|
9467
|
+
function formatOf(chunk) {
|
|
9468
|
+
return chunk.format ?? "f32le";
|
|
9469
|
+
}
|
|
9470
|
+
/**
|
|
9471
|
+
* Build the f32le twin of a coded chunk. Everything but `data` and `format`
|
|
9472
|
+
* is carried over — the rate, the channel count and the timestamp describe the
|
|
9473
|
+
* audio, not its encoding.
|
|
9474
|
+
*/
|
|
9475
|
+
function expandChunk(chunk, sourceFormat) {
|
|
9476
|
+
const bytes = expandAudioChunkToF32le(chunk.data, sourceFormat);
|
|
9477
|
+
return {
|
|
9478
|
+
data: Buffer.from(bytes.buffer, bytes.byteOffset, bytes.byteLength),
|
|
9479
|
+
sampleRate: chunk.sampleRate,
|
|
9480
|
+
channels: chunk.channels,
|
|
9481
|
+
timestamp: chunk.timestamp,
|
|
9482
|
+
format: "f32le"
|
|
9483
|
+
};
|
|
9484
|
+
}
|
|
9485
|
+
/**
|
|
9479
9486
|
* Owns the broker's decoded audio-chunk subscriptions. The broker feeds every
|
|
9480
9487
|
* decoded `DecodedAudioChunk` into `fanout`; each subscription's poll loop
|
|
9481
9488
|
* drains its own FIFO queue via `pull`.
|
|
@@ -9483,8 +9490,12 @@ var AUDIO_QUEUE_CAPACITY = 64;
|
|
|
9483
9490
|
var AudioChunkPlane = class {
|
|
9484
9491
|
logger;
|
|
9485
9492
|
subscriptions = /* @__PURE__ */ new Map();
|
|
9486
|
-
|
|
9493
|
+
/** Last `reapIdle` sweep — the lease is checked on a cadence, not per chunk. */
|
|
9494
|
+
lastReapAt = Date.now();
|
|
9495
|
+
onSubscriptionsReaped;
|
|
9496
|
+
constructor(logger, onSubscriptionsReaped) {
|
|
9487
9497
|
this.logger = logger;
|
|
9498
|
+
this.onSubscriptionsReaped = onSubscriptionsReaped;
|
|
9488
9499
|
}
|
|
9489
9500
|
/** Number of active audio-chunk subscriptions — surfaced as audio demand. */
|
|
9490
9501
|
get subscriberCount() {
|
|
@@ -9501,12 +9512,16 @@ var AudioChunkPlane = class {
|
|
|
9501
9512
|
tag: input?.tag ?? "unknown",
|
|
9502
9513
|
subscribedAt: Date.now(),
|
|
9503
9514
|
queue: new RingBuffer(AUDIO_QUEUE_CAPACITY),
|
|
9504
|
-
|
|
9515
|
+
accept: new Set(input?.accept ?? []),
|
|
9516
|
+
servedKey: null,
|
|
9517
|
+
chunksDelivered: 0,
|
|
9518
|
+
lastPulledAt: Date.now()
|
|
9505
9519
|
};
|
|
9506
9520
|
this.subscriptions.set(subscriptionId, subscription);
|
|
9507
9521
|
this.logger?.info("audio-chunk subscription added", { meta: {
|
|
9508
9522
|
subscriptionId,
|
|
9509
|
-
tag: subscription.tag
|
|
9523
|
+
tag: subscription.tag,
|
|
9524
|
+
accept: input?.accept ?? []
|
|
9510
9525
|
} });
|
|
9511
9526
|
return { subscriptionId };
|
|
9512
9527
|
}
|
|
@@ -9518,10 +9533,44 @@ var AudioChunkPlane = class {
|
|
|
9518
9533
|
pull(subscriptionId, maxCount) {
|
|
9519
9534
|
const subscription = this.subscriptions.get(subscriptionId);
|
|
9520
9535
|
if (!subscription) return [];
|
|
9536
|
+
subscription.lastPulledAt = Date.now();
|
|
9521
9537
|
const chunks = subscription.queue.drain(maxCount);
|
|
9522
9538
|
subscription.chunksDelivered += chunks.length;
|
|
9523
9539
|
return chunks;
|
|
9524
9540
|
}
|
|
9541
|
+
/**
|
|
9542
|
+
* Release every subscription nobody has drained for
|
|
9543
|
+
* {@link AUDIO_SUBSCRIPTION_IDLE_MS}, and NAME each one (D461, D427).
|
|
9544
|
+
*
|
|
9545
|
+
* The lease is the net under the ownership split: the subscriber lives in a
|
|
9546
|
+
* process the orchestrator does not supervise, so a missed `detachDevice`
|
|
9547
|
+
* has to be survivable rather than trusted. It is deliberately driven from
|
|
9548
|
+
* `fanout` — the plane has no clock of its own, and the moment a dead
|
|
9549
|
+
* consumer costs anything is the moment there is a chunk to put in its
|
|
9550
|
+
* queue. A plane with nothing flowing has nothing to reclaim.
|
|
9551
|
+
*
|
|
9552
|
+
* Returns the ids released so the broker can re-evaluate its demand; an
|
|
9553
|
+
* orphan that is dropped but still counted would have fixed nothing.
|
|
9554
|
+
*/
|
|
9555
|
+
reapIdle(now = Date.now()) {
|
|
9556
|
+
const reaped = [];
|
|
9557
|
+
for (const subscription of [...this.subscriptions.values()]) {
|
|
9558
|
+
const idleMs = now - subscription.lastPulledAt;
|
|
9559
|
+
if (idleMs < 12e4) continue;
|
|
9560
|
+
this.subscriptions.delete(subscription.id);
|
|
9561
|
+
reaped.push(subscription.id);
|
|
9562
|
+
this.logger?.warn("audio-chunk subscription REAPED — nobody drained it", { meta: {
|
|
9563
|
+
subscriptionId: subscription.id,
|
|
9564
|
+
tag: subscription.tag,
|
|
9565
|
+
idleMs,
|
|
9566
|
+
leaseMs: AUDIO_SUBSCRIPTION_IDLE_MS,
|
|
9567
|
+
queued: subscription.queue.size,
|
|
9568
|
+
chunksDelivered: subscription.chunksDelivered,
|
|
9569
|
+
hint: "the consumer process died without detaching — its subscription was holding this broker in demand"
|
|
9570
|
+
} });
|
|
9571
|
+
}
|
|
9572
|
+
return reaped;
|
|
9573
|
+
}
|
|
9525
9574
|
/** Release a subscription. Returns `true` when a known subscription was released. */
|
|
9526
9575
|
unsubscribe(subscriptionId) {
|
|
9527
9576
|
const existed = this.subscriptions.delete(subscriptionId);
|
|
@@ -9532,9 +9581,67 @@ var AudioChunkPlane = class {
|
|
|
9532
9581
|
* Fan one decoded `DecodedAudioChunk` into every active subscription's FIFO
|
|
9533
9582
|
* queue. A full queue drops its oldest chunk (bounded safety valve for a
|
|
9534
9583
|
* stalled consumer). No-op when there are no subscriptions.
|
|
9584
|
+
*
|
|
9585
|
+
* ## The format each subscription gets (D455)
|
|
9586
|
+
*
|
|
9587
|
+
* The decoder now hands this plane the SOURCE bytes — one G.711 byte per
|
|
9588
|
+
* sample instead of four f32le ones — because the plane crosses hub-main
|
|
9589
|
+
* twice on its way to the analyzer and every leg was paying the expansion.
|
|
9590
|
+
* A subscription receives those bytes only if it DECLARED it can read them;
|
|
9591
|
+
* otherwise the plane expands to `f32le` here, which is byte-for-byte what
|
|
9592
|
+
* every consumer received before this existed.
|
|
9593
|
+
*
|
|
9594
|
+
* The expansion is done ONCE per fanout and shared by every subscription
|
|
9595
|
+
* that needs it: the chunk is immutable and the queue holds references.
|
|
9535
9596
|
*/
|
|
9536
9597
|
fanout(chunk) {
|
|
9537
|
-
|
|
9598
|
+
this.maybeReap();
|
|
9599
|
+
const sourceFormat = formatOf(chunk);
|
|
9600
|
+
let expanded = null;
|
|
9601
|
+
for (const subscription of this.subscriptions.values()) {
|
|
9602
|
+
if (sourceFormat === "f32le" || subscription.accept.has(sourceFormat)) {
|
|
9603
|
+
this.noteServed(subscription, sourceFormat, sourceFormat);
|
|
9604
|
+
subscription.queue.push(chunk);
|
|
9605
|
+
continue;
|
|
9606
|
+
}
|
|
9607
|
+
expanded ??= expandChunk(chunk, sourceFormat);
|
|
9608
|
+
this.noteServed(subscription, sourceFormat, "f32le");
|
|
9609
|
+
subscription.queue.push(expanded);
|
|
9610
|
+
}
|
|
9611
|
+
}
|
|
9612
|
+
/**
|
|
9613
|
+
* Run the idle-lease sweep on a cadence rather than on every chunk. A quarter
|
|
9614
|
+
* of the lease bounds how long an orphan outlives its bound by, and keeps
|
|
9615
|
+
* the per-chunk cost of `fanout` a single clock read.
|
|
9616
|
+
*/
|
|
9617
|
+
maybeReap() {
|
|
9618
|
+
const now = Date.now();
|
|
9619
|
+
if (now - this.lastReapAt < 12e4 / 4) return;
|
|
9620
|
+
this.lastReapAt = now;
|
|
9621
|
+
if (this.reapIdle(now).length > 0) this.onSubscriptionsReaped?.();
|
|
9622
|
+
}
|
|
9623
|
+
/**
|
|
9624
|
+
* Say what a subscription is being served — once, and again on every change.
|
|
9625
|
+
*
|
|
9626
|
+
* The audio decision of a relay is never silent (D427). Two things this line
|
|
9627
|
+
* answers that nothing else can: a consumer receiving a format it did not
|
|
9628
|
+
* expect (the failure that would otherwise surface as a level of +43 dBFS
|
|
9629
|
+
* with no cause), and a leg still paying 4x because its consumer declared no
|
|
9630
|
+
* `accept` — `expanded: true` is the byte cost, named where it is incurred.
|
|
9631
|
+
*/
|
|
9632
|
+
noteServed(subscription, sourceFormat, servedFormat) {
|
|
9633
|
+
const key = `${sourceFormat}>${servedFormat}`;
|
|
9634
|
+
if (subscription.servedKey === key) return;
|
|
9635
|
+
const previous = subscription.servedKey;
|
|
9636
|
+
subscription.servedKey = key;
|
|
9637
|
+
this.logger?.info("audio-chunk subscription serving", { meta: {
|
|
9638
|
+
subscriptionId: subscription.id,
|
|
9639
|
+
tag: subscription.tag,
|
|
9640
|
+
sourceFormat,
|
|
9641
|
+
servedFormat,
|
|
9642
|
+
expanded: servedFormat !== sourceFormat,
|
|
9643
|
+
previous
|
|
9644
|
+
} });
|
|
9538
9645
|
}
|
|
9539
9646
|
/** Diagnostic snapshot of every active audio-chunk subscription. */
|
|
9540
9647
|
listSubscribers() {
|
|
@@ -11832,7 +11939,7 @@ var StreamBroker = class StreamBroker {
|
|
|
11832
11939
|
});
|
|
11833
11940
|
this.preBuffer = new EncodedRingBuffer(StreamBroker.DEFAULT_PRE_BUFFER_SEC);
|
|
11834
11941
|
this.decoderSeedBuffer = new EncodedRingBuffer(StreamBroker.DECODER_SEED_BUFFER_SEC);
|
|
11835
|
-
this.audioChunkPlane = new AudioChunkPlane(logger?.child("audio-chunk-plane"));
|
|
11942
|
+
this.audioChunkPlane = new AudioChunkPlane(logger?.child("audio-chunk-plane"), () => this.checkDemand());
|
|
11836
11943
|
this.rtspRestreamer.onSessionCountChanged(() => this.checkDemand());
|
|
11837
11944
|
this.pipeServer.onClientCountChanged(() => this.checkDemand());
|
|
11838
11945
|
}
|
|
@@ -13187,7 +13294,10 @@ var StreamBroker = class StreamBroker {
|
|
|
13187
13294
|
subscribeAudioChunks(options) {
|
|
13188
13295
|
const tag = options?.tag;
|
|
13189
13296
|
if (!tag) this.logger?.warn(`subscribeAudioChunks called without tag — listClients will show 'unknown'`);
|
|
13190
|
-
const result = this.audioChunkPlane.subscribe({
|
|
13297
|
+
const result = this.audioChunkPlane.subscribe({
|
|
13298
|
+
tag,
|
|
13299
|
+
accept: options?.accept
|
|
13300
|
+
});
|
|
13191
13301
|
this.checkDemand();
|
|
13192
13302
|
return result;
|
|
13193
13303
|
}
|
|
@@ -13667,16 +13777,19 @@ var StreamBroker = class StreamBroker {
|
|
|
13667
13777
|
const codecUpper = audioTrack.codec.toUpperCase();
|
|
13668
13778
|
this.audioCodec = codecUpper;
|
|
13669
13779
|
const supportedNative = codecUpper === "PCMU" || codecUpper === "PCMA";
|
|
13670
|
-
this.logger?.info("audio: track detected", {
|
|
13671
|
-
|
|
13672
|
-
|
|
13673
|
-
|
|
13674
|
-
|
|
13675
|
-
|
|
13676
|
-
|
|
13677
|
-
|
|
13678
|
-
|
|
13679
|
-
|
|
13780
|
+
this.logger?.info("audio: track detected", {
|
|
13781
|
+
tags: { deviceId: this.numericDeviceId },
|
|
13782
|
+
meta: {
|
|
13783
|
+
codec: audioTrack.codec,
|
|
13784
|
+
codecUpper,
|
|
13785
|
+
clockRate: audioTrack.clockRate,
|
|
13786
|
+
channels: audioTrack.channels,
|
|
13787
|
+
fmtpKeys: Object.keys(audioTrack.fmtp),
|
|
13788
|
+
hasConfigHex: "config" in audioTrack.fmtp || "CONFIG" in audioTrack.fmtp,
|
|
13789
|
+
audioCodecApiAvailable: this.audioCodecApi !== null,
|
|
13790
|
+
supportedNative
|
|
13791
|
+
}
|
|
13792
|
+
});
|
|
13680
13793
|
let supported = supportedNative;
|
|
13681
13794
|
let effectiveSampleRate = audioTrack.clockRate;
|
|
13682
13795
|
let effectiveChannels = audioTrack.channels;
|
|
@@ -13684,13 +13797,17 @@ var StreamBroker = class StreamBroker {
|
|
|
13684
13797
|
this.audioRtpDecoder = new AudioRtpDecoder(codecUpper, (chunk) => {
|
|
13685
13798
|
this.audioChunkPlane.fanout(chunk);
|
|
13686
13799
|
});
|
|
13687
|
-
this.logger?.info("native: audio decoder initialized", {
|
|
13688
|
-
|
|
13689
|
-
|
|
13690
|
-
|
|
13691
|
-
|
|
13692
|
-
|
|
13693
|
-
|
|
13800
|
+
this.logger?.info("native: audio decoder initialized", {
|
|
13801
|
+
tags: { deviceId: this.numericDeviceId },
|
|
13802
|
+
meta: {
|
|
13803
|
+
codec: codecUpper,
|
|
13804
|
+
sampleRate: audioTrack.clockRate,
|
|
13805
|
+
channels: audioTrack.channels,
|
|
13806
|
+
planeSampleRate: G711_SAMPLE_RATE,
|
|
13807
|
+
planeFormat: codecUpper === "PCMA" ? "pcma" : "pcmu",
|
|
13808
|
+
preD459LevelDeficitDb: Math.round(G711_SCALE_CORRECTION_DB[codecUpper === "PCMA" ? "PCMA" : "PCMU"] * 100) / 100
|
|
13809
|
+
}
|
|
13810
|
+
});
|
|
13694
13811
|
} else if (this.audioCodecApi) {
|
|
13695
13812
|
const capCfg = this.buildAudioCodecSessionConfig(audioTrack);
|
|
13696
13813
|
if (capCfg) {
|
|
@@ -17467,7 +17584,10 @@ var StreamBrokerManager = class StreamBrokerManager {
|
|
|
17467
17584
|
await this.ensureBrokerForId(input.brokerId);
|
|
17468
17585
|
const broker = this.brokers.get(input.brokerId);
|
|
17469
17586
|
if (!broker) throw new Error(`stream-broker: no broker for "${input.brokerId}"`);
|
|
17470
|
-
const result = broker.subscribeAudioChunks({
|
|
17587
|
+
const result = broker.subscribeAudioChunks({
|
|
17588
|
+
tag: input.tag,
|
|
17589
|
+
accept: input.accept
|
|
17590
|
+
});
|
|
17471
17591
|
this.audioSubscriptionBroker.set(result.subscriptionId, input.brokerId);
|
|
17472
17592
|
return result;
|
|
17473
17593
|
}
|
|
@@ -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-
|
|
33
|
+
return l ||= d(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-BZG3prqU.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.
|
|
3
|
+
"version": "1.2.222",
|
|
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",
|
|
@@ -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_MACRO_LABELS, e.AUDIO_PRESETS, 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.AudioChunkInputSchema, e.AudioClassSummarySchema, e.AudioClassificationLabelSchema, e.AudioClassificationResultSchema, e.AudioCodecInfoSchema, e.AudioDecodeSessionConfigSchema, 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_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.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.METHOD_ACCESS_MAP, e.METHOD_DEVICE_SELECTORS, e.MODEL_FORMATS, e.MODEL_PROVIDER_IDS, 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_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.audioCodecCapability, e.audioIsFailClosed, e.audioKindId, e.audioLabelChoices, e.audioMetricsCapability, e.audioModeOf, e.audioOrDefaults, e.audioPlanFromEncodeProfile, 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.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.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.isAudioLabelSelected, e.isAudioRule, e.isBaseConditionKey, e.isBatteryPresenceFault, e.isClusterScopedStep, e.isCollectionArrayMethod, e.isDeployableToAgent, e.isDetectionMacroClass, e.isDeviceConfigCap, e.isDeviceScopedCap, e.isEvent, 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.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.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 };
|