@camstack/addon-provider-rademacher 0.2.87 → 0.2.89
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
|
@@ -21697,6 +21697,22 @@ var occupancyRecheckFramesField = {
|
|
|
21697
21697
|
step: 1
|
|
21698
21698
|
};
|
|
21699
21699
|
/**
|
|
21700
|
+
* Frames one PRE-ROLL catch-up burst may send to inference at session open.
|
|
21701
|
+
*
|
|
21702
|
+
* The default of 12 over a ~4 s retained window is one frame per ~333 ms of
|
|
21703
|
+
* footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
|
|
21704
|
+
* fleet measures — one-shot, and only ever taken while a permit would still be
|
|
21705
|
+
* spare for live. `0` turns the burst off entirely (the history is still
|
|
21706
|
+
* decoded, because that is how the dial reaches a decodable GOP, and is then
|
|
21707
|
+
* discarded — the pre-D411 behaviour).
|
|
21708
|
+
*/
|
|
21709
|
+
var preRollInferenceFramesField = {
|
|
21710
|
+
min: 0,
|
|
21711
|
+
max: 30,
|
|
21712
|
+
default: 12,
|
|
21713
|
+
step: 1
|
|
21714
|
+
};
|
|
21715
|
+
/**
|
|
21700
21716
|
* Source enum for motion signals fed to the runner. Extensible — add
|
|
21701
21717
|
* new variants here when new motion-trigger paths are wired in
|
|
21702
21718
|
* (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
|
|
@@ -21937,6 +21953,31 @@ var RunnerCameraConfigSchema = object({
|
|
|
21937
21953
|
* to every occupancy rule until something moved in front of it. The churn is
|
|
21938
21954
|
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
21939
21955
|
*/
|
|
21956
|
+
/**
|
|
21957
|
+
* Infer the session's PRE-ROLL — the retained history the restreamer replays
|
|
21958
|
+
* at session open — instead of decoding it and throwing it away.
|
|
21959
|
+
*
|
|
21960
|
+
* DEFAULT `true`, and the default is the argument. This is not a new
|
|
21961
|
+
* capability being offered cautiously: the pre-roll is ALREADY requested,
|
|
21962
|
+
* already served, already decoded and already paid for on every on-motion
|
|
21963
|
+
* detection session that asks for history. What shipped was a last-moment
|
|
21964
|
+
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
21965
|
+
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
21966
|
+
* worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
|
|
21967
|
+
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
21968
|
+
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
21969
|
+
* was decoded, and was freed.
|
|
21970
|
+
*
|
|
21971
|
+
* Shipping that as opt-in would ship the bug: an operator cannot discover a
|
|
21972
|
+
* setting whose absence looks exactly like a camera that noticed the cyclist
|
|
21973
|
+
* late. What makes ON safe is not a switch but the BOUND —
|
|
21974
|
+
* `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
|
|
21975
|
+
* the last inference permit — so the switch exists for the camera where the
|
|
21976
|
+
* history is worthless (a doorbell whose subject is always already at the
|
|
21977
|
+
* door), not as a hedge against the feature.
|
|
21978
|
+
*/
|
|
21979
|
+
preRollInferenceEnabled: boolean().default(true),
|
|
21980
|
+
preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
|
|
21940
21981
|
occupancyRecheckEnabled: boolean().default(true),
|
|
21941
21982
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
21942
21983
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
@@ -21965,7 +22006,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
21965
22006
|
*/
|
|
21966
22007
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
21967
22008
|
});
|
|
21968
|
-
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;
|
|
22009
|
+
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;
|
|
21969
22010
|
/**
|
|
21970
22011
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
21971
22012
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
package/dist/addon.mjs
CHANGED
|
@@ -21696,6 +21696,22 @@ var occupancyRecheckFramesField = {
|
|
|
21696
21696
|
step: 1
|
|
21697
21697
|
};
|
|
21698
21698
|
/**
|
|
21699
|
+
* Frames one PRE-ROLL catch-up burst may send to inference at session open.
|
|
21700
|
+
*
|
|
21701
|
+
* The default of 12 over a ~4 s retained window is one frame per ~333 ms of
|
|
21702
|
+
* footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
|
|
21703
|
+
* fleet measures — one-shot, and only ever taken while a permit would still be
|
|
21704
|
+
* spare for live. `0` turns the burst off entirely (the history is still
|
|
21705
|
+
* decoded, because that is how the dial reaches a decodable GOP, and is then
|
|
21706
|
+
* discarded — the pre-D411 behaviour).
|
|
21707
|
+
*/
|
|
21708
|
+
var preRollInferenceFramesField = {
|
|
21709
|
+
min: 0,
|
|
21710
|
+
max: 30,
|
|
21711
|
+
default: 12,
|
|
21712
|
+
step: 1
|
|
21713
|
+
};
|
|
21714
|
+
/**
|
|
21699
21715
|
* Source enum for motion signals fed to the runner. Extensible — add
|
|
21700
21716
|
* new variants here when new motion-trigger paths are wired in
|
|
21701
21717
|
* (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
|
|
@@ -21936,6 +21952,31 @@ var RunnerCameraConfigSchema = object({
|
|
|
21936
21952
|
* to every occupancy rule until something moved in front of it. The churn is
|
|
21937
21953
|
* now paid on the interval instead — see `occupancyRecheckSecField`.
|
|
21938
21954
|
*/
|
|
21955
|
+
/**
|
|
21956
|
+
* Infer the session's PRE-ROLL — the retained history the restreamer replays
|
|
21957
|
+
* at session open — instead of decoding it and throwing it away.
|
|
21958
|
+
*
|
|
21959
|
+
* DEFAULT `true`, and the default is the argument. This is not a new
|
|
21960
|
+
* capability being offered cautiously: the pre-roll is ALREADY requested,
|
|
21961
|
+
* already served, already decoded and already paid for on every on-motion
|
|
21962
|
+
* detection session that asks for history. What shipped was a last-moment
|
|
21963
|
+
* discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
|
|
21964
|
+
* arriving inside a few hundred ms of wall clock looks to it like one frame's
|
|
21965
|
+
* worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
|
|
21966
|
+
* recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
|
|
21967
|
+
* 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
|
|
21968
|
+
* was decoded, and was freed.
|
|
21969
|
+
*
|
|
21970
|
+
* Shipping that as opt-in would ship the bug: an operator cannot discover a
|
|
21971
|
+
* setting whose absence looks exactly like a camera that noticed the cyclist
|
|
21972
|
+
* late. What makes ON safe is not a switch but the BOUND —
|
|
21973
|
+
* `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
|
|
21974
|
+
* the last inference permit — so the switch exists for the camera where the
|
|
21975
|
+
* history is worthless (a doorbell whose subject is always already at the
|
|
21976
|
+
* door), not as a hedge against the feature.
|
|
21977
|
+
*/
|
|
21978
|
+
preRollInferenceEnabled: boolean().default(true),
|
|
21979
|
+
preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
|
|
21939
21980
|
occupancyRecheckEnabled: boolean().default(true),
|
|
21940
21981
|
occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
|
|
21941
21982
|
occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
|
|
@@ -21964,7 +22005,7 @@ var RunnerCameraConfigSchema = object({
|
|
|
21964
22005
|
*/
|
|
21965
22006
|
inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
|
|
21966
22007
|
});
|
|
21967
|
-
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;
|
|
22008
|
+
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;
|
|
21968
22009
|
/**
|
|
21969
22010
|
* Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
|
|
21970
22011
|
* load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-rademacher",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.89",
|
|
4
4
|
"description": "Rademacher HomePilot device-provider addon for CamStack — wraps the @apocaliss92/noderademacher local-hub client (roller shutters over the cover cap)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|