@camstack/addon-osd-manager 0.1.186 → 0.1.187
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/{MotionZonesSettings-Dp0R0q3Z.mjs → MotionZonesSettings-DExh7cfG.mjs} +2 -2
- package/dist/{PrivacyMaskSettings-IPP5tsg4.mjs → PrivacyMaskSettings-D7DD3Bjn.mjs} +4 -4
- package/dist/{SceneMonitorEditor-wh-xCA6m.mjs → SceneMonitorEditor-CSGICuxL.mjs} +3 -3
- package/dist/_stub.js +44 -37
- package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-Cr3qSOlj.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-CqKqHB_X.mjs} +4 -4
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-xwBgquo5.mjs +26 -0
- package/dist/addon-osd-manager.css +1 -1
- package/dist/{hostInit-Byg5VNXi.mjs → hostInit-B0_eqBVt.mjs} +3 -3
- package/dist/index.js +31 -357
- package/dist/index.mjs +31 -357
- package/dist/{player-overlays-C2udddNf.mjs → player-overlays-BIS82ltZ.mjs} +1 -1
- package/dist/remoteEntry.js +1 -1
- package/dist/{responsive-Bef0FhzN.mjs → responsive-B3EaDJYd.mjs} +1 -1
- package/dist/{scene-monitor-copy-OXVinJYb.mjs → scene-monitor-copy-b6ZWnJc9.mjs} +1 -1
- package/dist/{square-ClhvKotL.mjs → square-DnMZ8-h0.mjs} +1 -1
- package/dist/{trash-2-DtyxSKWI.mjs → trash-2-Cd7WoJCB.mjs} +1 -1
- package/dist/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-2lDHA88N.mjs → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-CbqzvZt_.mjs} +1 -1
- package/package.json +1 -1
- package/dist/_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-fuPdAfsY.mjs +0 -26
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../types/dist/event-category-
|
|
1
|
+
//#region ../types/dist/event-category-B_0XEcLF.mjs
|
|
2
2
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
3
3
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4
4
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -499,15 +499,6 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
499
499
|
EventCategory["AgentWsDisconnected"] = "agent.ws.disconnected";
|
|
500
500
|
EventCategory["AgentBackupActivated"] = "agent.backup.activated";
|
|
501
501
|
EventCategory["OrchestrationSettingsUpdated"] = "orchestration.settings-updated";
|
|
502
|
-
/**
|
|
503
|
-
* Per-agent hwaccel preference changed (user override set, cleared, or
|
|
504
|
-
* re-probed). Observability event — decoders pull the current pref at
|
|
505
|
-
* `createSession`, so running sessions keep their current backend until
|
|
506
|
-
* they rotate naturally (camera add/remove, stream restart). Future
|
|
507
|
-
* work can wire a listener in stream-broker that force-rotates live
|
|
508
|
-
* sessions; for now this event powers logs + admin-UI toast feedback.
|
|
509
|
-
*/
|
|
510
|
-
EventCategory["PipelineAgentHwaccelChanged"] = "pipeline.agent-hwaccel-changed";
|
|
511
502
|
EventCategory["MotionAnalysis"] = "detection.motion-analysis";
|
|
512
503
|
/** All raw motion zones from CCL before minArea filter — for UI debug overlay. */
|
|
513
504
|
EventCategory["MotionZonesRaw"] = "detection.motion-zones-raw";
|
|
@@ -5378,7 +5369,7 @@ var ZodIssueCode = {
|
|
|
5378
5369
|
var ZodFirstPartyTypeKind;
|
|
5379
5370
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5380
5371
|
//#endregion
|
|
5381
|
-
//#region ../types/dist/sleep-
|
|
5372
|
+
//#region ../types/dist/sleep-BNeXenvr.mjs
|
|
5382
5373
|
/**
|
|
5383
5374
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5384
5375
|
* window to float samples (D455).
|
|
@@ -6744,32 +6735,12 @@ object({
|
|
|
6744
6735
|
audioCodec: string().optional(),
|
|
6745
6736
|
metadata: record(string(), unknown()).readonly().optional()
|
|
6746
6737
|
});
|
|
6747
|
-
var EncodedPacketSchema = object({
|
|
6748
|
-
type: _enum(["video", "audio"]),
|
|
6749
|
-
data: _instanceof(Uint8Array),
|
|
6750
|
-
pts: number(),
|
|
6751
|
-
dts: number(),
|
|
6752
|
-
keyframe: boolean(),
|
|
6753
|
-
codec: string()
|
|
6754
|
-
});
|
|
6755
|
-
var DecodedFrameSchema = object({
|
|
6756
|
-
data: _instanceof(Uint8Array),
|
|
6757
|
-
width: number(),
|
|
6758
|
-
height: number(),
|
|
6759
|
-
format: _enum([
|
|
6760
|
-
"jpeg",
|
|
6761
|
-
"rgb",
|
|
6762
|
-
"bgr",
|
|
6763
|
-
"yuv420",
|
|
6764
|
-
"gray"
|
|
6765
|
-
]),
|
|
6766
|
-
timestamp: number()
|
|
6767
|
-
});
|
|
6768
6738
|
/**
|
|
6769
6739
|
* Wire schema for `FrameHandle` — a zero-pixel, serialisable reference to a
|
|
6770
6740
|
* frame in a shared-memory ring (Phase 5 / D9). Mirrors the `FrameHandle` TS
|
|
6771
|
-
* interface in `interfaces/frame-handle.ts` field-for-field so a
|
|
6772
|
-
*
|
|
6741
|
+
* interface in `interfaces/frame-handle.ts` field-for-field so a cap method
|
|
6742
|
+
* (the runner's native-crop and pipeline-executor inputs) can carry handles
|
|
6743
|
+
* over tRPC / Moleculer.
|
|
6773
6744
|
*
|
|
6774
6745
|
* The `satisfies` assertion below pins this schema to the interface: if a
|
|
6775
6746
|
* field is added to / removed from `FrameHandle` without a matching schema
|
|
@@ -6795,50 +6766,6 @@ var FrameHandleSchema = object({
|
|
|
6795
6766
|
slotCount: number().int().positive()
|
|
6796
6767
|
});
|
|
6797
6768
|
/**
|
|
6798
|
-
* Pixel format a frame-handle subscriber can request from the broker
|
|
6799
|
-
* (Phase 5 / D9). The packed, raster subset of `FrameFormat` — the formats a
|
|
6800
|
-
* `frameSink: 'shm'` decoder session can write into a `FrameRing` slot.
|
|
6801
|
-
* `jpeg` is excluded: a variable-length stream is not a fixed-stride ring
|
|
6802
|
-
* payload, and no decoded-frame consumer requests it over the shm plane.
|
|
6803
|
-
*/
|
|
6804
|
-
var FrameHandleFormatSchema = _enum([
|
|
6805
|
-
"rgb",
|
|
6806
|
-
"bgr",
|
|
6807
|
-
"yuv420",
|
|
6808
|
-
"gray"
|
|
6809
|
-
]);
|
|
6810
|
-
/**
|
|
6811
|
-
* Input for `stream-broker.subscribeFrames` (Phase 5 / D9). A consumer asks the
|
|
6812
|
-
* broker for a `FrameHandle` stream of one `format`; the broker maintains one
|
|
6813
|
-
* shared-memory ring per `(brokerId, format)` actually requested, so a `gray`
|
|
6814
|
-
* subscriber (motion) and an `rgb` subscriber (detection) each read the format
|
|
6815
|
-
* they asked for with no broker-side conversion.
|
|
6816
|
-
*/
|
|
6817
|
-
var SubscribeFramesInputSchema = object({
|
|
6818
|
-
brokerId: string(),
|
|
6819
|
-
format: FrameHandleFormatSchema,
|
|
6820
|
-
/**
|
|
6821
|
-
* Optional reader-side cadence hint in frames per second. The broker does
|
|
6822
|
-
* NOT throttle — latest-wins ring reads drop frames implicitly for a slow
|
|
6823
|
-
* consumer. The value is echoed back in `SubscribeFramesResult.maxFps` so
|
|
6824
|
-
* the consumer can pace its own `pullFrameHandles` polling.
|
|
6825
|
-
*/
|
|
6826
|
-
maxFps: number().positive().optional(),
|
|
6827
|
-
/** Short caller-identity tag (`motion`, `detection`, …) for diagnostics. */
|
|
6828
|
-
tag: string().optional()
|
|
6829
|
-
});
|
|
6830
|
-
/**
|
|
6831
|
-
* Result of `stream-broker.subscribeFrames`. The consumer then polls
|
|
6832
|
-
* `pullFrameHandles({ subscriptionId, maxCount })` and feeds each returned
|
|
6833
|
-
* `FrameHandle` to a `FrameRingReader`.
|
|
6834
|
-
*/
|
|
6835
|
-
var SubscribeFramesResultSchema = object({
|
|
6836
|
-
/** Opaque id the consumer passes to `pullFrameHandles` / `unsubscribeFrames`. */
|
|
6837
|
-
subscriptionId: string(),
|
|
6838
|
-
/** Reader-side cadence hint (frames/s) — echoes `SubscribeFramesInput.maxFps`. */
|
|
6839
|
-
maxFps: number().nonnegative()
|
|
6840
|
-
});
|
|
6841
|
-
/**
|
|
6842
6769
|
* Wire schema for a decoded audio chunk (Phase 5 / D9). Mirrors the
|
|
6843
6770
|
* `DecodedAudioChunk` TS interface in `interfaces/stream-broker.ts`: PCM
|
|
6844
6771
|
* sample bytes plus the track parameters a consumer needs to interpret them.
|
|
@@ -6846,8 +6773,8 @@ var SubscribeFramesResultSchema = object({
|
|
|
6846
6773
|
* Audio chunks are tiny (a ~500ms AudioCodecSession window is a few KB of
|
|
6847
6774
|
* Float32 PCM), so unlike video frames they ship their bytes INLINE over
|
|
6848
6775
|
* tRPC / Moleculer — no shared-memory plane. `data` is typed `Uint8Array`
|
|
6849
|
-
* (the wire-serialisable supertype of `Buffer`)
|
|
6850
|
-
*
|
|
6776
|
+
* (the wire-serialisable supertype of `Buffer`); a `Buffer` is assignable to
|
|
6777
|
+
* it.
|
|
6851
6778
|
*/
|
|
6852
6779
|
var AudioChunkFormatSchema = _enum(AUDIO_CHUNK_FORMATS);
|
|
6853
6780
|
var DecodedAudioChunkSchema = object({
|
|
@@ -6865,11 +6792,10 @@ var DecodedAudioChunkSchema = object({
|
|
|
6865
6792
|
format: AudioChunkFormatSchema.optional()
|
|
6866
6793
|
});
|
|
6867
6794
|
/**
|
|
6868
|
-
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9).
|
|
6869
|
-
*
|
|
6870
|
-
*
|
|
6871
|
-
*
|
|
6872
|
-
* `pullAudioChunks`.
|
|
6795
|
+
* Input for `stream-broker.subscribeAudioChunks` (Phase 5 / D9). Audio ships
|
|
6796
|
+
* its bytes inline: a consumer asks the broker for the decoded audio-chunk
|
|
6797
|
+
* stream of one broker; the broker keeps a per-subscription bounded FIFO queue
|
|
6798
|
+
* the consumer drains via `pullAudioChunks`.
|
|
6873
6799
|
*/
|
|
6874
6800
|
var SubscribeAudioChunksInputSchema = object({
|
|
6875
6801
|
brokerId: string(),
|
|
@@ -6900,9 +6826,7 @@ var BrokerStatsSchema = object({
|
|
|
6900
6826
|
"stopped"
|
|
6901
6827
|
]),
|
|
6902
6828
|
inputFps: number(),
|
|
6903
|
-
decodeFps: number(),
|
|
6904
6829
|
encodedSubscribers: number(),
|
|
6905
|
-
decodedSubscribers: number(),
|
|
6906
6830
|
uptimeMs: number(),
|
|
6907
6831
|
bitrateKbps: number(),
|
|
6908
6832
|
idrIntervalMs: number(),
|
|
@@ -6915,14 +6839,6 @@ var BrokerStatsSchema = object({
|
|
|
6915
6839
|
preBufferMs: number(),
|
|
6916
6840
|
preBufferPackets: number(),
|
|
6917
6841
|
/**
|
|
6918
|
-
* Moleculer node id of the decoder provider currently servicing this
|
|
6919
|
-
* stream's decoded subscribers. `null` until the deferred decoder is
|
|
6920
|
-
* created (no decoded clients yet, or codec not detected). Surfaces the
|
|
6921
|
-
* runtime decoder placement so the UI can show "Decoder: <agent>" without
|
|
6922
|
-
* a separate cap call per broker.
|
|
6923
|
-
*/
|
|
6924
|
-
decoderNodeId: string().nullable(),
|
|
6925
|
-
/**
|
|
6926
6842
|
* Detected audio track parameters from the RTSP DESCRIBE / SDP. `null`
|
|
6927
6843
|
* when the stream has no audio track or the broker is in cold start.
|
|
6928
6844
|
* `supported = false` means the codec was detected but the local
|
|
@@ -10356,70 +10272,6 @@ var StorageLocationDeclarationSchema = object({
|
|
|
10356
10272
|
"backup"
|
|
10357
10273
|
]).optional()
|
|
10358
10274
|
});
|
|
10359
|
-
var DecoderStatsSchema = object({
|
|
10360
|
-
inputFps: number(),
|
|
10361
|
-
outputFps: number(),
|
|
10362
|
-
avgDecodeTimeMs: number(),
|
|
10363
|
-
droppedFrames: number(),
|
|
10364
|
-
/**
|
|
10365
|
-
* Pull-mode adaptive-fps telemetry (optional — only pull sessions run the
|
|
10366
|
-
* lag-driven controller; push sessions omit these). `lagMs` is the EWMA of
|
|
10367
|
-
* the decoder's real-time drift (rising = falling behind live); `adaptiveFps`
|
|
10368
|
-
* is the current lag-throttled emit rate (≤ `effectiveFps` ceiling).
|
|
10369
|
-
*/
|
|
10370
|
-
lagMs: number().optional(),
|
|
10371
|
-
effectiveFps: number().optional(),
|
|
10372
|
-
adaptiveFps: number().optional()
|
|
10373
|
-
});
|
|
10374
|
-
var DecoderSessionConfigSchema = object({
|
|
10375
|
-
codec: string(),
|
|
10376
|
-
maxFps: number().default(0),
|
|
10377
|
-
outputFormat: _enum([
|
|
10378
|
-
"jpeg",
|
|
10379
|
-
"rgb",
|
|
10380
|
-
"bgr",
|
|
10381
|
-
"yuv420",
|
|
10382
|
-
"gray"
|
|
10383
|
-
]).default("jpeg"),
|
|
10384
|
-
scale: number().default(1),
|
|
10385
|
-
width: number().optional(),
|
|
10386
|
-
height: number().optional(),
|
|
10387
|
-
/**
|
|
10388
|
-
* Identifier of the camera this decoder session serves. Optional
|
|
10389
|
-
* because the cap is generic (any caller could request decode), but
|
|
10390
|
-
* stream-broker passes it so decoder logs include `deviceId` for
|
|
10391
|
-
* per-camera filtering when diagnosing failures (e.g. node-av
|
|
10392
|
-
* sendPacket errors on a single hung camera).
|
|
10393
|
-
*/
|
|
10394
|
-
deviceId: number().int().nonnegative().optional(),
|
|
10395
|
-
/**
|
|
10396
|
-
* Free-form tag for log scoping. Stream-broker uses
|
|
10397
|
-
* `broker:<deviceId>/<profile>`. Decoder session logger surfaces it
|
|
10398
|
-
* on every line so `grep tag=broker:5/high` filters one camera
|
|
10399
|
-
* profile cleanly.
|
|
10400
|
-
*/
|
|
10401
|
-
tag: string().optional(),
|
|
10402
|
-
/**
|
|
10403
|
-
* Where the session delivers decoded frames (Phase 5 / D9):
|
|
10404
|
-
*
|
|
10405
|
-
* - `'callback'` (default) — the legacy pixel path: decoded frames are
|
|
10406
|
-
* buffered as `DecodedFrame`s and drained via `pullFrames`.
|
|
10407
|
-
* - `'shm'` — the shared-memory frame plane: decoded frames are written
|
|
10408
|
-
* into an OS shared-memory ring and drained as zero-pixel
|
|
10409
|
-
* `FrameHandle`s via `pullHandles`. A session is one mode or the
|
|
10410
|
-
* other — `pullFrames` returns nothing for an `'shm'` session and
|
|
10411
|
-
* `pullHandles` returns nothing for a `'callback'` session.
|
|
10412
|
-
*/
|
|
10413
|
-
frameSink: _enum(["callback", "shm"]).default("callback"),
|
|
10414
|
-
/**
|
|
10415
|
-
* Per-camera decoder DEBUG facility. When `true`, a pull-mode session emits
|
|
10416
|
-
* a throttled (~1Hz) structured `decoder debug` line (effective/adaptive fps,
|
|
10417
|
-
* real-time lag, dropped-frame delta, avg decode time, hwaccel). Mirrors the
|
|
10418
|
-
* stream-broker's `streamingDebug` gate — off by default so production logs
|
|
10419
|
-
* stay quiet and the emit path pays zero per-frame cost when disabled.
|
|
10420
|
-
*/
|
|
10421
|
-
debug: boolean().optional()
|
|
10422
|
-
});
|
|
10423
10275
|
/**
|
|
10424
10276
|
* Per-component log CHANNELS — the gate a hot path consults, and the registry
|
|
10425
10277
|
* an addon declares its channels in.
|
|
@@ -13023,13 +12875,6 @@ var BrokerRtspClientSchema = object({
|
|
|
13023
12875
|
lastRtpAt: number(),
|
|
13024
12876
|
bytesSent: number()
|
|
13025
12877
|
});
|
|
13026
|
-
var BrokerDecodedClientSchema = object({
|
|
13027
|
-
tag: string(),
|
|
13028
|
-
subscribedAt: number(),
|
|
13029
|
-
maxFps: number(),
|
|
13030
|
-
framesDelivered: number(),
|
|
13031
|
-
framesDropped: number()
|
|
13032
|
-
});
|
|
13033
12878
|
var BrokerAudioClientSchema = object({
|
|
13034
12879
|
tag: string(),
|
|
13035
12880
|
subscribedAt: number(),
|
|
@@ -13121,7 +12966,6 @@ var BrokerEncodedClientSchema = object({
|
|
|
13121
12966
|
});
|
|
13122
12967
|
var BrokerClientsSchema = object({
|
|
13123
12968
|
rtsp: array(BrokerRtspClientSchema).readonly(),
|
|
13124
|
-
decoded: array(BrokerDecodedClientSchema).readonly(),
|
|
13125
12969
|
audio: array(BrokerAudioClientSchema).readonly(),
|
|
13126
12970
|
encoded: array(BrokerEncodedClientSchema).readonly(),
|
|
13127
12971
|
pipeClients: number(),
|
|
@@ -13613,11 +13457,7 @@ var streamBrokerCapability = {
|
|
|
13613
13457
|
listClients: method(object({ brokerId: string() }), BrokerClientsSchema),
|
|
13614
13458
|
killClient: method(object({
|
|
13615
13459
|
brokerId: string(),
|
|
13616
|
-
channel: _enum([
|
|
13617
|
-
"rtsp",
|
|
13618
|
-
"decoded",
|
|
13619
|
-
"audio"
|
|
13620
|
-
]),
|
|
13460
|
+
channel: _enum(["rtsp", "audio"]),
|
|
13621
13461
|
handle: string()
|
|
13622
13462
|
}), object({ killed: boolean() }), {
|
|
13623
13463
|
kind: "mutation",
|
|
@@ -13716,31 +13556,6 @@ var streamBrokerCapability = {
|
|
|
13716
13556
|
maxCount: number().int().positive().default(8)
|
|
13717
13557
|
}), array(DecodedAudioChunkSchema).readonly()),
|
|
13718
13558
|
unsubscribeAudioChunks: method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }),
|
|
13719
|
-
/**
|
|
13720
|
-
* ── Shared-memory frame plane (Phase 5 / D9) ──────────────────────
|
|
13721
|
-
*
|
|
13722
|
-
* The handle-based replacement for the live-object `IStreamBroker.
|
|
13723
|
-
* onDecodedFrame` callback path. A consumer:
|
|
13724
|
-
*
|
|
13725
|
-
* 1. `subscribeFrames({ brokerId, format })` — the broker spins up
|
|
13726
|
-
* (or reuses) a `frameSink: 'shm'` decoder session producing that
|
|
13727
|
-
* `format` and returns a `subscriptionId`.
|
|
13728
|
-
* 2. polls `pullFrameHandles({ subscriptionId, maxCount })` — drains
|
|
13729
|
-
* zero-pixel `FrameHandle[]`; each handle is fed to a
|
|
13730
|
-
* `FrameRingReader` that opens the named shm segment and reads the
|
|
13731
|
-
* pixels back zero-copy.
|
|
13732
|
-
* 3. `unsubscribeFrames({ subscriptionId })` on teardown.
|
|
13733
|
-
*
|
|
13734
|
-
* The broker keeps one shm ring per `(brokerId, format)` actually
|
|
13735
|
-
* requested — no broker-side `sharp` conversion. fps throttling is
|
|
13736
|
-
* implicit (latest-wins ring reads drop frames for a slow consumer).
|
|
13737
|
-
*/
|
|
13738
|
-
subscribeFrames: method(SubscribeFramesInputSchema, SubscribeFramesResultSchema, { kind: "mutation" }),
|
|
13739
|
-
pullFrameHandles: method(object({
|
|
13740
|
-
subscriptionId: string(),
|
|
13741
|
-
maxCount: number().int().positive().default(4)
|
|
13742
|
-
}), array(FrameHandleSchema).readonly()),
|
|
13743
|
-
unsubscribeFrames: method(object({ subscriptionId: string() }), object({ released: boolean() }), { kind: "mutation" }),
|
|
13744
13559
|
setPreBufferDuration: method(object({
|
|
13745
13560
|
brokerId: string(),
|
|
13746
13561
|
seconds: number().min(0).max(30)
|
|
@@ -15456,72 +15271,18 @@ id: union([string(), number()]) }), {
|
|
|
15456
15271
|
})
|
|
15457
15272
|
}
|
|
15458
15273
|
};
|
|
15459
|
-
/**
|
|
15460
|
-
* shm ring usage stats for a `frameSink: 'shm'` decoder session —
|
|
15461
|
-
* exposed via `decoder.getShmStats` so downstream consumers can
|
|
15462
|
-
* observe ring pressure (slot count, byte budget, hit/miss ratio).
|
|
15463
|
-
*/
|
|
15464
|
-
var ShmRingStatsSchema = object({
|
|
15465
|
-
sessionId: string(),
|
|
15466
|
-
slotCount: number().int(),
|
|
15467
|
-
slotByteLength: number().int(),
|
|
15468
|
-
segmentBytes: number().int(),
|
|
15469
|
-
budgetMb: number().int(),
|
|
15470
|
-
framesWritten: number().int(),
|
|
15471
|
-
getFrameHits: number().int(),
|
|
15472
|
-
getFrameMisses: number().int()
|
|
15473
|
-
});
|
|
15474
15274
|
var decoderCapability = {
|
|
15475
15275
|
name: "decoder",
|
|
15476
15276
|
scope: "system",
|
|
15477
15277
|
mode: "singleton",
|
|
15478
15278
|
preferredProvider: "decoder-nodeav",
|
|
15479
15279
|
methods: {
|
|
15480
|
-
supportsCodec: method(object({ codec: string() }), boolean()),
|
|
15481
15280
|
getInfo: method(_void(), object({
|
|
15482
15281
|
id: string(),
|
|
15483
15282
|
name: string(),
|
|
15484
|
-
isPullMode: boolean().optional(),
|
|
15485
|
-
priority: number().optional(),
|
|
15486
15283
|
hwaccel: string().optional(),
|
|
15487
15284
|
probedBestHwaccel: string().optional()
|
|
15488
15285
|
})),
|
|
15489
|
-
createSession: method(DecoderSessionConfigSchema, object({
|
|
15490
|
-
sessionId: string(),
|
|
15491
|
-
nodeId: string()
|
|
15492
|
-
})),
|
|
15493
|
-
destroySession: method(object({ sessionId: string() }), _void()),
|
|
15494
|
-
pushPacket: method(object({
|
|
15495
|
-
sessionId: string(),
|
|
15496
|
-
packet: EncodedPacketSchema
|
|
15497
|
-
}), _void()),
|
|
15498
|
-
openStream: method(object({
|
|
15499
|
-
sessionId: string(),
|
|
15500
|
-
url: string()
|
|
15501
|
-
}), _void()),
|
|
15502
|
-
pullFrames: method(object({
|
|
15503
|
-
sessionId: string(),
|
|
15504
|
-
maxCount: number().default(1),
|
|
15505
|
-
waitMs: number().optional()
|
|
15506
|
-
}), array(DecodedFrameSchema)),
|
|
15507
|
-
pullHandles: method(object({
|
|
15508
|
-
sessionId: string(),
|
|
15509
|
-
maxCount: number().default(1),
|
|
15510
|
-
waitMs: number().optional()
|
|
15511
|
-
}), array(FrameHandleSchema)),
|
|
15512
|
-
getFrame: method(object({ handle: FrameHandleSchema }), DecodedFrameSchema.nullable()),
|
|
15513
|
-
getShmStats: method(object({ sessionId: string() }), ShmRingStatsSchema.nullable()),
|
|
15514
|
-
updateConfig: method(object({
|
|
15515
|
-
sessionId: string(),
|
|
15516
|
-
config: DecoderSessionConfigSchema.partial()
|
|
15517
|
-
}), _void()),
|
|
15518
|
-
getStats: method(object({ sessionId: string() }), DecoderStatsSchema),
|
|
15519
|
-
listActiveSessions: method(_void(), array(object({
|
|
15520
|
-
sessionId: string(),
|
|
15521
|
-
codec: string(),
|
|
15522
|
-
outputFormat: string(),
|
|
15523
|
-
createdAtMs: number()
|
|
15524
|
-
})).readonly()),
|
|
15525
15286
|
/**
|
|
15526
15287
|
* Re-run the host platform-probe for the decoder's hwaccel backend
|
|
15527
15288
|
* and write the detected value into the addon's own global
|
|
@@ -24763,8 +24524,8 @@ Object.freeze(Object.fromEntries([{
|
|
|
24763
24524
|
var CLUSTER_STEP_SETTING_FIELDS = [{
|
|
24764
24525
|
stepId: "face-embedding",
|
|
24765
24526
|
key: "minLandmarkFaceSize",
|
|
24766
|
-
label: "Min face size
|
|
24767
|
-
description: "
|
|
24527
|
+
label: "Min face size to embed (detection-frame px)",
|
|
24528
|
+
description: "Faces smaller than this in the small frame the detector sees are not embedded, so they can never be recognised. Below it the face cannot be aligned reliably and a bad embedding matches everyone. Same value on every node. 0 = no limit.",
|
|
24768
24529
|
type: "slider",
|
|
24769
24530
|
min: 0,
|
|
24770
24531
|
max: 64,
|
|
@@ -29339,14 +29100,15 @@ var RunnerLocalLoadSchema = object({
|
|
|
29339
29100
|
* Per-inference-device live load (multi-device C4). One entry per deviceKey
|
|
29340
29101
|
* this runner currently has attached cameras on, so the orchestrator's second
|
|
29341
29102
|
* `balance()` pass (over a node's devices) weights on real per-pool session
|
|
29342
|
-
* counts. Empty on single-device / pre-multi-device runners.
|
|
29343
|
-
* per
|
|
29103
|
+
* counts. Empty on single-device / pre-multi-device runners. There is no
|
|
29104
|
+
* per-device queue depth: the inference pool's backlog has no accessor, and
|
|
29105
|
+
* a field that always read 0 was removed rather than shown as a measurement
|
|
29106
|
+
* (D762).
|
|
29344
29107
|
*/
|
|
29345
29108
|
devices: array(object({
|
|
29346
29109
|
deviceKey: string(),
|
|
29347
29110
|
backend: string(),
|
|
29348
|
-
attachedCameras: number()
|
|
29349
|
-
queueDepthTotal: number()
|
|
29111
|
+
attachedCameras: number()
|
|
29350
29112
|
})).default([]),
|
|
29351
29113
|
/** Hardware capability flags reported by this node. */
|
|
29352
29114
|
hardware: object({
|
|
@@ -29861,7 +29623,10 @@ var PipelineAssignmentSchema = object({
|
|
|
29861
29623
|
});
|
|
29862
29624
|
/**
|
|
29863
29625
|
* Per-agent load summary surfaced to the load balancer + dashboards.
|
|
29864
|
-
* Aggregated from each runner's `getLocalLoad` cap call.
|
|
29626
|
+
* Aggregated from each runner's `getLocalLoad` cap call. In the
|
|
29627
|
+
* `getAgentLoad` report, a single-device node's default-pool sessions (no
|
|
29628
|
+
* `deviceKey`) are credited to its one eligible device in `load.devices` —
|
|
29629
|
+
* the default pool IS that device (D745); the balancer's census stays raw.
|
|
29865
29630
|
*/
|
|
29866
29631
|
var AgentLoadSummarySchema = object({
|
|
29867
29632
|
nodeId: string(),
|
|
@@ -29950,8 +29715,14 @@ var CameraBrokerStatusSchema = object({
|
|
|
29950
29715
|
width: number(),
|
|
29951
29716
|
height: number(),
|
|
29952
29717
|
subscribers: number(),
|
|
29953
|
-
|
|
29954
|
-
|
|
29718
|
+
/**
|
|
29719
|
+
* Encoded packets/s the broker receives from the camera. null when the
|
|
29720
|
+
* broker's stats read failed — unknown, never 0 (a 0 here reads as a stall).
|
|
29721
|
+
* There is no output rate: decoding runs in the session decode workers, not
|
|
29722
|
+
* in the broker, so the broker's own decoded-frame rate is 0 on every live
|
|
29723
|
+
* camera and is not served (D758).
|
|
29724
|
+
*/
|
|
29725
|
+
inFps: number().nullable()
|
|
29955
29726
|
})).readonly(),
|
|
29956
29727
|
webrtcSessions: number(),
|
|
29957
29728
|
rtspRestream: boolean()
|
|
@@ -33748,8 +33519,6 @@ var WebrtcStreamChoiceSchema = object({
|
|
|
33748
33519
|
]).nullable(),
|
|
33749
33520
|
/** Input FPS from the camera (null for adaptive). */
|
|
33750
33521
|
inputFps: number().nullable(),
|
|
33751
|
-
/** Decoded FPS (null for adaptive). */
|
|
33752
|
-
decodeFps: number().nullable(),
|
|
33753
33522
|
/** Bitrate in kbps (null for adaptive). */
|
|
33754
33523
|
bitrateKbps: number().nullable()
|
|
33755
33524
|
});
|
|
@@ -48339,90 +48108,18 @@ Object.freeze({
|
|
|
48339
48108
|
addonId: null,
|
|
48340
48109
|
access: "create"
|
|
48341
48110
|
},
|
|
48342
|
-
"decoder.createSession": {
|
|
48343
|
-
capName: "decoder",
|
|
48344
|
-
capScope: "system",
|
|
48345
|
-
addonId: null,
|
|
48346
|
-
access: "view"
|
|
48347
|
-
},
|
|
48348
|
-
"decoder.destroySession": {
|
|
48349
|
-
capName: "decoder",
|
|
48350
|
-
capScope: "system",
|
|
48351
|
-
addonId: null,
|
|
48352
|
-
access: "delete"
|
|
48353
|
-
},
|
|
48354
|
-
"decoder.getFrame": {
|
|
48355
|
-
capName: "decoder",
|
|
48356
|
-
capScope: "system",
|
|
48357
|
-
addonId: null,
|
|
48358
|
-
access: "view"
|
|
48359
|
-
},
|
|
48360
48111
|
"decoder.getInfo": {
|
|
48361
48112
|
capName: "decoder",
|
|
48362
48113
|
capScope: "system",
|
|
48363
48114
|
addonId: null,
|
|
48364
48115
|
access: "view"
|
|
48365
48116
|
},
|
|
48366
|
-
"decoder.getShmStats": {
|
|
48367
|
-
capName: "decoder",
|
|
48368
|
-
capScope: "system",
|
|
48369
|
-
addonId: null,
|
|
48370
|
-
access: "view"
|
|
48371
|
-
},
|
|
48372
|
-
"decoder.getStats": {
|
|
48373
|
-
capName: "decoder",
|
|
48374
|
-
capScope: "system",
|
|
48375
|
-
addonId: null,
|
|
48376
|
-
access: "view"
|
|
48377
|
-
},
|
|
48378
|
-
"decoder.listActiveSessions": {
|
|
48379
|
-
capName: "decoder",
|
|
48380
|
-
capScope: "system",
|
|
48381
|
-
addonId: null,
|
|
48382
|
-
access: "view"
|
|
48383
|
-
},
|
|
48384
|
-
"decoder.openStream": {
|
|
48385
|
-
capName: "decoder",
|
|
48386
|
-
capScope: "system",
|
|
48387
|
-
addonId: null,
|
|
48388
|
-
access: "view"
|
|
48389
|
-
},
|
|
48390
|
-
"decoder.pullFrames": {
|
|
48391
|
-
capName: "decoder",
|
|
48392
|
-
capScope: "system",
|
|
48393
|
-
addonId: null,
|
|
48394
|
-
access: "view"
|
|
48395
|
-
},
|
|
48396
|
-
"decoder.pullHandles": {
|
|
48397
|
-
capName: "decoder",
|
|
48398
|
-
capScope: "system",
|
|
48399
|
-
addonId: null,
|
|
48400
|
-
access: "view"
|
|
48401
|
-
},
|
|
48402
|
-
"decoder.pushPacket": {
|
|
48403
|
-
capName: "decoder",
|
|
48404
|
-
capScope: "system",
|
|
48405
|
-
addonId: null,
|
|
48406
|
-
access: "view"
|
|
48407
|
-
},
|
|
48408
48117
|
"decoder.reprobeHwaccel": {
|
|
48409
48118
|
capName: "decoder",
|
|
48410
48119
|
capScope: "system",
|
|
48411
48120
|
addonId: null,
|
|
48412
48121
|
access: "create"
|
|
48413
48122
|
},
|
|
48414
|
-
"decoder.supportsCodec": {
|
|
48415
|
-
capName: "decoder",
|
|
48416
|
-
capScope: "system",
|
|
48417
|
-
addonId: null,
|
|
48418
|
-
access: "view"
|
|
48419
|
-
},
|
|
48420
|
-
"decoder.updateConfig": {
|
|
48421
|
-
capName: "decoder",
|
|
48422
|
-
capScope: "system",
|
|
48423
|
-
addonId: null,
|
|
48424
|
-
access: "view"
|
|
48425
|
-
},
|
|
48426
48123
|
"detectionPipeline.applyDeviceSettingsPatch": {
|
|
48427
48124
|
capName: "detection-pipeline",
|
|
48428
48125
|
capScope: "device",
|
|
@@ -53469,12 +53166,6 @@ Object.freeze({
|
|
|
53469
53166
|
addonId: null,
|
|
53470
53167
|
access: "view"
|
|
53471
53168
|
},
|
|
53472
|
-
"streamBroker.pullFrameHandles": {
|
|
53473
|
-
capName: "stream-broker",
|
|
53474
|
-
capScope: "system",
|
|
53475
|
-
addonId: null,
|
|
53476
|
-
access: "view"
|
|
53477
|
-
},
|
|
53478
53169
|
"streamBroker.regenerateRtspToken": {
|
|
53479
53170
|
capName: "stream-broker",
|
|
53480
53171
|
capScope: "system",
|
|
@@ -53541,12 +53232,6 @@ Object.freeze({
|
|
|
53541
53232
|
addonId: null,
|
|
53542
53233
|
access: "create"
|
|
53543
53234
|
},
|
|
53544
|
-
"streamBroker.subscribeFrames": {
|
|
53545
|
-
capName: "stream-broker",
|
|
53546
|
-
capScope: "system",
|
|
53547
|
-
addonId: null,
|
|
53548
|
-
access: "create"
|
|
53549
|
-
},
|
|
53550
53235
|
"streamBroker.unassignProfile": {
|
|
53551
53236
|
capName: "stream-broker",
|
|
53552
53237
|
capScope: "system",
|
|
@@ -53559,12 +53244,6 @@ Object.freeze({
|
|
|
53559
53244
|
addonId: null,
|
|
53560
53245
|
access: "create"
|
|
53561
53246
|
},
|
|
53562
|
-
"streamBroker.unsubscribeFrames": {
|
|
53563
|
-
capName: "stream-broker",
|
|
53564
|
-
capScope: "system",
|
|
53565
|
-
addonId: null,
|
|
53566
|
-
access: "create"
|
|
53567
|
-
},
|
|
53568
53247
|
"streamCatalog.getCatalog": {
|
|
53569
53248
|
capName: "stream-catalog",
|
|
53570
53249
|
capScope: "device",
|
|
@@ -56254,11 +55933,6 @@ Object.freeze({
|
|
|
56254
55933
|
form: "single",
|
|
56255
55934
|
optional: false
|
|
56256
55935
|
}],
|
|
56257
|
-
"decoder.createSession": [{
|
|
56258
|
-
name: "deviceId",
|
|
56259
|
-
form: "single",
|
|
56260
|
-
optional: true
|
|
56261
|
-
}],
|
|
56262
55936
|
"detectionPipeline.applyDeviceSettingsPatch": [{
|
|
56263
55937
|
name: "deviceId",
|
|
56264
55938
|
form: "single",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as e, l as t, u as n, x as r } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react__loadShare__.js-D7xZfSHZ.mjs";
|
|
2
|
-
import { c as i, s as a } from "./responsive-
|
|
2
|
+
import { c as i, s as a } from "./responsive-B3EaDJYd.mjs";
|
|
3
3
|
import { n as o, r as s, t as c } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DalfdIDw.mjs";
|
|
4
4
|
var l = i("chevron-down", [["path", {
|
|
5
5
|
d: "m6 9 6 6 6-6",
|
package/dist/remoteEntry.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-
|
|
1
|
+
import { n as e, t } from "./virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_osd_manager_page__remoteEntry_js-CbqzvZt_.mjs";
|
|
2
2
|
export { t as get, e as init };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as e, c as t, h as n, l as r, n as i, r as a, t as o, u as s, v as c, x as l } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react__loadShare__.js-D7xZfSHZ.mjs";
|
|
2
2
|
import "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-DalfdIDw.mjs";
|
|
3
|
-
import { i as u } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-
|
|
3
|
+
import { i as u } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-xwBgquo5.mjs";
|
|
4
4
|
//#region ../../node_modules/lucide-react/dist/esm/shared/src/utils/mergeClasses.js
|
|
5
5
|
l();
|
|
6
6
|
var d = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), f = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), p = (e) => e.replace(/^([A-Z])|[\s-_]+(\w)/g, (e, t, n) => n ? n.toUpperCase() : t.toLowerCase()), m = (e) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as e, c as t, h as n, x as r } from "./_virtual_mf___mfe_internal__addon_osd_manager_page__loadShare__react__loadShare__.js-D7xZfSHZ.mjs";
|
|
2
|
-
import { c as i } from "./responsive-
|
|
2
|
+
import { c as i } from "./responsive-B3EaDJYd.mjs";
|
|
3
3
|
var a = i("camera", [["path", {
|
|
4
4
|
d: "M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",
|
|
5
5
|
key: "18u6gg"
|
|
@@ -2753,7 +2753,7 @@ async function rr(e) {
|
|
|
2753
2753
|
}
|
|
2754
2754
|
}
|
|
2755
2755
|
async function ir() {
|
|
2756
|
-
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-
|
|
2756
|
+
return tr ||= rr(() => import("./_virtual_mf-localSharedImportMap___mfe_internal__addon_osd_manager_page-CqKqHB_X.mjs")).catch((e) => {
|
|
2757
2757
|
throw tr = void 0, e;
|
|
2758
2758
|
}), tr;
|
|
2759
2759
|
}
|