@camstack/addon-provider-rtsp 1.2.88 → 1.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 CHANGED
@@ -20768,6 +20768,22 @@ var occupancyRecheckFramesField = {
20768
20768
  step: 1
20769
20769
  };
20770
20770
  /**
20771
+ * Frames one PRE-ROLL catch-up burst may send to inference at session open.
20772
+ *
20773
+ * The default of 12 over a ~4 s retained window is one frame per ~333 ms of
20774
+ * footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
20775
+ * fleet measures — one-shot, and only ever taken while a permit would still be
20776
+ * spare for live. `0` turns the burst off entirely (the history is still
20777
+ * decoded, because that is how the dial reaches a decodable GOP, and is then
20778
+ * discarded — the pre-D411 behaviour).
20779
+ */
20780
+ var preRollInferenceFramesField = {
20781
+ min: 0,
20782
+ max: 30,
20783
+ default: 12,
20784
+ step: 1
20785
+ };
20786
+ /**
20771
20787
  * Source enum for motion signals fed to the runner. Extensible — add
20772
20788
  * new variants here when new motion-trigger paths are wired in
20773
20789
  * (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
@@ -21008,6 +21024,31 @@ var RunnerCameraConfigSchema = object({
21008
21024
  * to every occupancy rule until something moved in front of it. The churn is
21009
21025
  * now paid on the interval instead — see `occupancyRecheckSecField`.
21010
21026
  */
21027
+ /**
21028
+ * Infer the session's PRE-ROLL — the retained history the restreamer replays
21029
+ * at session open — instead of decoding it and throwing it away.
21030
+ *
21031
+ * DEFAULT `true`, and the default is the argument. This is not a new
21032
+ * capability being offered cautiously: the pre-roll is ALREADY requested,
21033
+ * already served, already decoded and already paid for on every on-motion
21034
+ * detection session that asks for history. What shipped was a last-moment
21035
+ * discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
21036
+ * arriving inside a few hundred ms of wall clock looks to it like one frame's
21037
+ * worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
21038
+ * recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
21039
+ * 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
21040
+ * was decoded, and was freed.
21041
+ *
21042
+ * Shipping that as opt-in would ship the bug: an operator cannot discover a
21043
+ * setting whose absence looks exactly like a camera that noticed the cyclist
21044
+ * late. What makes ON safe is not a switch but the BOUND —
21045
+ * `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
21046
+ * the last inference permit — so the switch exists for the camera where the
21047
+ * history is worthless (a doorbell whose subject is always already at the
21048
+ * door), not as a hedge against the feature.
21049
+ */
21050
+ preRollInferenceEnabled: boolean().default(true),
21051
+ preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
21011
21052
  occupancyRecheckEnabled: boolean().default(true),
21012
21053
  occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
21013
21054
  occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
@@ -21036,7 +21077,7 @@ var RunnerCameraConfigSchema = object({
21036
21077
  */
21037
21078
  inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
21038
21079
  });
21039
- 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;
21080
+ 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;
21040
21081
  /**
21041
21082
  * Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
21042
21083
  * load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
package/dist/addon.mjs CHANGED
@@ -20744,6 +20744,22 @@ var occupancyRecheckFramesField = {
20744
20744
  step: 1
20745
20745
  };
20746
20746
  /**
20747
+ * Frames one PRE-ROLL catch-up burst may send to inference at session open.
20748
+ *
20749
+ * The default of 12 over a ~4 s retained window is one frame per ~333 ms of
20750
+ * footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
20751
+ * fleet measures — one-shot, and only ever taken while a permit would still be
20752
+ * spare for live. `0` turns the burst off entirely (the history is still
20753
+ * decoded, because that is how the dial reaches a decodable GOP, and is then
20754
+ * discarded — the pre-D411 behaviour).
20755
+ */
20756
+ var preRollInferenceFramesField = {
20757
+ min: 0,
20758
+ max: 30,
20759
+ default: 12,
20760
+ step: 1
20761
+ };
20762
+ /**
20747
20763
  * Source enum for motion signals fed to the runner. Extensible — add
20748
20764
  * new variants here when new motion-trigger paths are wired in
20749
20765
  * (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
@@ -20984,6 +21000,31 @@ var RunnerCameraConfigSchema = object({
20984
21000
  * to every occupancy rule until something moved in front of it. The churn is
20985
21001
  * now paid on the interval instead — see `occupancyRecheckSecField`.
20986
21002
  */
21003
+ /**
21004
+ * Infer the session's PRE-ROLL — the retained history the restreamer replays
21005
+ * at session open — instead of decoding it and throwing it away.
21006
+ *
21007
+ * DEFAULT `true`, and the default is the argument. This is not a new
21008
+ * capability being offered cautiously: the pre-roll is ALREADY requested,
21009
+ * already served, already decoded and already paid for on every on-motion
21010
+ * detection session that asks for history. What shipped was a last-moment
21011
+ * discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
21012
+ * arriving inside a few hundred ms of wall clock looks to it like one frame's
21013
+ * worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
21014
+ * recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
21015
+ * 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
21016
+ * was decoded, and was freed.
21017
+ *
21018
+ * Shipping that as opt-in would ship the bug: an operator cannot discover a
21019
+ * setting whose absence looks exactly like a camera that noticed the cyclist
21020
+ * late. What makes ON safe is not a switch but the BOUND —
21021
+ * `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
21022
+ * the last inference permit — so the switch exists for the camera where the
21023
+ * history is worthless (a doorbell whose subject is always already at the
21024
+ * door), not as a hedge against the feature.
21025
+ */
21026
+ preRollInferenceEnabled: boolean().default(true),
21027
+ preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
20987
21028
  occupancyRecheckEnabled: boolean().default(true),
20988
21029
  occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
20989
21030
  occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
@@ -21012,7 +21053,7 @@ var RunnerCameraConfigSchema = object({
21012
21053
  */
21013
21054
  inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
21014
21055
  });
21015
- 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;
21056
+ 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;
21016
21057
  /**
21017
21058
  * Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
21018
21059
  * 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-rtsp",
3
- "version": "1.2.88",
3
+ "version": "1.2.89",
4
4
  "description": "Generic RTSP camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",