@camstack/addon-provider-onvif 1.2.87 → 1.2.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/addon.js +42 -1
- package/dist/addon.mjs +42 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -20424,6 +20424,22 @@ var occupancyRecheckFramesField = {
|
|
|
20424
20424
|
step: 1
|
|
20425
20425
|
};
|
|
20426
20426
|
/**
|
|
20427
|
+
* Frames one PRE-ROLL catch-up burst may send to inference at session open.
|
|
20428
|
+
*
|
|
20429
|
+
* The default of 12 over a ~4 s retained window is one frame per ~333 ms of
|
|
20430
|
+
* footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
|
|
20431
|
+
* fleet measures — one-shot, and only ever taken while a permit would still be
|
|
20432
|
+
* spare for live. `0` turns the burst off entirely (the history is still
|
|
20433
|
+
* decoded, because that is how the dial reaches a decodable GOP, and is then
|
|
20434
|
+
* discarded — the pre-D411 behaviour).
|
|
20435
|
+
*/
|
|
20436
|
+
var preRollInferenceFramesField = {
|
|
20437
|
+
min: 0,
|
|
20438
|
+
max: 30,
|
|
20439
|
+
default: 12,
|
|
20440
|
+
step: 1
|
|
20441
|
+
};
|
|
20442
|
+
/**
|
|
20427
20443
|
* Source enum for motion signals fed to the runner. Extensible — add
|
|
20428
20444
|
* new variants here when new motion-trigger paths are wired in
|
|
20429
20445
|
* (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
|
|
@@ -20664,6 +20680,31 @@ var RunnerCameraConfigSchema = object({
|
|
|
20664
20680
|
* to every occupancy rule until something moved in front of it. The churn is
|
|
20665
20681
|
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
20666
20682
|
*/
|
|
20683
|
+
/**
|
|
20684
|
+
* Infer the session's PRE-ROLL — the retained history the restreamer replays
|
|
20685
|
+
* at session open — instead of decoding it and throwing it away.
|
|
20686
|
+
*
|
|
20687
|
+
* DEFAULT `true`, and the default is the argument. This is not a new
|
|
20688
|
+
* capability being offered cautiously: the pre-roll is ALREADY requested,
|
|
20689
|
+
* already served, already decoded and already paid for on every on-motion
|
|
20690
|
+
* detection session that asks for history. What shipped was a last-moment
|
|
20691
|
+
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
20692
|
+
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
20693
|
+
* worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
|
|
20694
|
+
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
20695
|
+
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
20696
|
+
* was decoded, and was freed.
|
|
20697
|
+
*
|
|
20698
|
+
* Shipping that as opt-in would ship the bug: an operator cannot discover a
|
|
20699
|
+
* setting whose absence looks exactly like a camera that noticed the cyclist
|
|
20700
|
+
* late. What makes ON safe is not a switch but the BOUND —
|
|
20701
|
+
* `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
|
|
20702
|
+
* the last inference permit — so the switch exists for the camera where the
|
|
20703
|
+
* history is worthless (a doorbell whose subject is always already at the
|
|
20704
|
+
* door), not as a hedge against the feature.
|
|
20705
|
+
*/
|
|
20706
|
+
preRollInferenceEnabled: boolean().default(true),
|
|
20707
|
+
preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
|
|
20667
20708
|
occupancyRecheckEnabled: boolean().default(true),
|
|
20668
20709
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
20669
20710
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
@@ -20692,7 +20733,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
20692
20733
|
*/
|
|
20693
20734
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
20694
20735
|
});
|
|
20695
|
-
motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, audioMotionWindowMsField.min, audioMotionWindowMsField.max, audioMotionWindowMsField.step, audioMotionWindowMsField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
|
|
20736
|
+
motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, audioMotionWindowMsField.min, audioMotionWindowMsField.max, audioMotionWindowMsField.step, audioMotionWindowMsField.default, preRollInferenceFramesField.min, preRollInferenceFramesField.max, preRollInferenceFramesField.step, preRollInferenceFramesField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
|
|
20696
20737
|
/**
|
|
20697
20738
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
20698
20739
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
package/dist/addon.mjs
CHANGED
|
@@ -20425,6 +20425,22 @@ var occupancyRecheckFramesField = {
|
|
|
20425
20425
|
step: 1
|
|
20426
20426
|
};
|
|
20427
20427
|
/**
|
|
20428
|
+
* Frames one PRE-ROLL catch-up burst may send to inference at session open.
|
|
20429
|
+
*
|
|
20430
|
+
* The default of 12 over a ~4 s retained window is one frame per ~333 ms of
|
|
20431
|
+
* footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
|
|
20432
|
+
* fleet measures — one-shot, and only ever taken while a permit would still be
|
|
20433
|
+
* spare for live. `0` turns the burst off entirely (the history is still
|
|
20434
|
+
* decoded, because that is how the dial reaches a decodable GOP, and is then
|
|
20435
|
+
* discarded — the pre-D411 behaviour).
|
|
20436
|
+
*/
|
|
20437
|
+
var preRollInferenceFramesField = {
|
|
20438
|
+
min: 0,
|
|
20439
|
+
max: 30,
|
|
20440
|
+
default: 12,
|
|
20441
|
+
step: 1
|
|
20442
|
+
};
|
|
20443
|
+
/**
|
|
20428
20444
|
* Source enum for motion signals fed to the runner. Extensible — add
|
|
20429
20445
|
* new variants here when new motion-trigger paths are wired in
|
|
20430
20446
|
* (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
|
|
@@ -20665,6 +20681,31 @@ var RunnerCameraConfigSchema = object({
|
|
|
20665
20681
|
* to every occupancy rule until something moved in front of it. The churn is
|
|
20666
20682
|
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
20667
20683
|
*/
|
|
20684
|
+
/**
|
|
20685
|
+
* Infer the session's PRE-ROLL — the retained history the restreamer replays
|
|
20686
|
+
* at session open — instead of decoding it and throwing it away.
|
|
20687
|
+
*
|
|
20688
|
+
* DEFAULT `true`, and the default is the argument. This is not a new
|
|
20689
|
+
* capability being offered cautiously: the pre-roll is ALREADY requested,
|
|
20690
|
+
* already served, already decoded and already paid for on every on-motion
|
|
20691
|
+
* detection session that asks for history. What shipped was a last-moment
|
|
20692
|
+
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
20693
|
+
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
20694
|
+
* worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
|
|
20695
|
+
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
20696
|
+
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
20697
|
+
* was decoded, and was freed.
|
|
20698
|
+
*
|
|
20699
|
+
* Shipping that as opt-in would ship the bug: an operator cannot discover a
|
|
20700
|
+
* setting whose absence looks exactly like a camera that noticed the cyclist
|
|
20701
|
+
* late. What makes ON safe is not a switch but the BOUND —
|
|
20702
|
+
* `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
|
|
20703
|
+
* the last inference permit — so the switch exists for the camera where the
|
|
20704
|
+
* history is worthless (a doorbell whose subject is always already at the
|
|
20705
|
+
* door), not as a hedge against the feature.
|
|
20706
|
+
*/
|
|
20707
|
+
preRollInferenceEnabled: boolean().default(true),
|
|
20708
|
+
preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
|
|
20668
20709
|
occupancyRecheckEnabled: boolean().default(true),
|
|
20669
20710
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
20670
20711
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
@@ -20693,7 +20734,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
20693
20734
|
*/
|
|
20694
20735
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
20695
20736
|
});
|
|
20696
|
-
motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, audioMotionWindowMsField.min, audioMotionWindowMsField.max, audioMotionWindowMsField.step, audioMotionWindowMsField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
|
|
20737
|
+
motionFpsField.min, motionFpsField.max, motionFpsField.step, motionFpsField.default, detectionFpsField.min, detectionFpsField.max, detectionFpsField.step, detectionFpsField.default, motionCooldownMsField.min, motionCooldownMsField.max, motionCooldownMsField.step, motionCooldownMsField.default, maxSessionHoldMsField.min, maxSessionHoldMsField.max, maxSessionHoldMsField.step, maxSessionHoldMsField.default, audioMotionWindowMsField.min, audioMotionWindowMsField.max, audioMotionWindowMsField.step, audioMotionWindowMsField.default, preRollInferenceFramesField.min, preRollInferenceFramesField.max, preRollInferenceFramesField.step, preRollInferenceFramesField.default, occupancyRecheckSecField.min, occupancyRecheckSecField.max, occupancyRecheckSecField.step, occupancyRecheckSecField.default, occupancyRecheckFramesField.min, occupancyRecheckFramesField.max, occupancyRecheckFramesField.step, occupancyRecheckFramesField.default;
|
|
20697
20738
|
/**
|
|
20698
20739
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
20699
20740
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|