@camstack/addon-provider-hikvision 1.2.96 → 1.2.97

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
@@ -21019,6 +21019,22 @@ var occupancyRecheckFramesField = {
21019
21019
  step: 1
21020
21020
  };
21021
21021
  /**
21022
+ * Frames one PRE-ROLL catch-up burst may send to inference at session open.
21023
+ *
21024
+ * The default of 12 over a ~4 s retained window is one frame per ~333 ms of
21025
+ * footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
21026
+ * fleet measures — one-shot, and only ever taken while a permit would still be
21027
+ * spare for live. `0` turns the burst off entirely (the history is still
21028
+ * decoded, because that is how the dial reaches a decodable GOP, and is then
21029
+ * discarded — the pre-D411 behaviour).
21030
+ */
21031
+ var preRollInferenceFramesField = {
21032
+ min: 0,
21033
+ max: 30,
21034
+ default: 12,
21035
+ step: 1
21036
+ };
21037
+ /**
21022
21038
  * Source enum for motion signals fed to the runner. Extensible — add
21023
21039
  * new variants here when new motion-trigger paths are wired in
21024
21040
  * (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
@@ -21259,6 +21275,31 @@ var RunnerCameraConfigSchema = object({
21259
21275
  * to every occupancy rule until something moved in front of it. The churn is
21260
21276
  * now paid on the interval instead — see `occupancyRecheckSecField`.
21261
21277
  */
21278
+ /**
21279
+ * Infer the session's PRE-ROLL — the retained history the restreamer replays
21280
+ * at session open — instead of decoding it and throwing it away.
21281
+ *
21282
+ * DEFAULT `true`, and the default is the argument. This is not a new
21283
+ * capability being offered cautiously: the pre-roll is ALREADY requested,
21284
+ * already served, already decoded and already paid for on every on-motion
21285
+ * detection session that asks for history. What shipped was a last-moment
21286
+ * discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
21287
+ * arriving inside a few hundred ms of wall clock looks to it like one frame's
21288
+ * worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
21289
+ * recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
21290
+ * 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
21291
+ * was decoded, and was freed.
21292
+ *
21293
+ * Shipping that as opt-in would ship the bug: an operator cannot discover a
21294
+ * setting whose absence looks exactly like a camera that noticed the cyclist
21295
+ * late. What makes ON safe is not a switch but the BOUND —
21296
+ * `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
21297
+ * the last inference permit — so the switch exists for the camera where the
21298
+ * history is worthless (a doorbell whose subject is always already at the
21299
+ * door), not as a hedge against the feature.
21300
+ */
21301
+ preRollInferenceEnabled: boolean().default(true),
21302
+ preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
21262
21303
  occupancyRecheckEnabled: boolean().default(true),
21263
21304
  occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
21264
21305
  occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
@@ -21287,7 +21328,7 @@ var RunnerCameraConfigSchema = object({
21287
21328
  */
21288
21329
  inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
21289
21330
  });
21290
- 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;
21331
+ 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;
21291
21332
  /**
21292
21333
  * Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
21293
21334
  * load-balancing levels (L2 capacity-based, L3 hardware-aware) to decide
package/dist/addon.mjs CHANGED
@@ -21020,6 +21020,22 @@ var occupancyRecheckFramesField = {
21020
21020
  step: 1
21021
21021
  };
21022
21022
  /**
21023
+ * Frames one PRE-ROLL catch-up burst may send to inference at session open.
21024
+ *
21025
+ * The default of 12 over a ~4 s retained window is one frame per ~333 ms of
21026
+ * footage, and costs ~480 ms of ONE inference permit at the 40 ms/frame this
21027
+ * fleet measures — one-shot, and only ever taken while a permit would still be
21028
+ * spare for live. `0` turns the burst off entirely (the history is still
21029
+ * decoded, because that is how the dial reaches a decodable GOP, and is then
21030
+ * discarded — the pre-D411 behaviour).
21031
+ */
21032
+ var preRollInferenceFramesField = {
21033
+ min: 0,
21034
+ max: 30,
21035
+ default: 12,
21036
+ step: 1
21037
+ };
21038
+ /**
21023
21039
  * Source enum for motion signals fed to the runner. Extensible — add
21024
21040
  * new variants here when new motion-trigger paths are wired in
21025
21041
  * (`wasm-cross-camera`, `event-bus-relay`, etc.). The runner uses
@@ -21260,6 +21276,31 @@ var RunnerCameraConfigSchema = object({
21260
21276
  * to every occupancy rule until something moved in front of it. The churn is
21261
21277
  * now paid on the interval instead — see `occupancyRecheckSecField`.
21262
21278
  */
21279
+ /**
21280
+ * Infer the session's PRE-ROLL — the retained history the restreamer replays
21281
+ * at session open — instead of decoding it and throwing it away.
21282
+ *
21283
+ * DEFAULT `true`, and the default is the argument. This is not a new
21284
+ * capability being offered cautiously: the pre-roll is ALREADY requested,
21285
+ * already served, already decoded and already paid for on every on-motion
21286
+ * detection session that asks for history. What shipped was a last-moment
21287
+ * discard — `FrameSlot`'s throttle compares wall clocks, and ~4 s of media
21288
+ * arriving inside a few hundred ms of wall clock looks to it like one frame's
21289
+ * worth. Device 617, 2026-09-08: a re-run of the SAME model over the stored
21290
+ * recording scored the subject `vehicle 0.5669` — above the 0.50 floor —
21291
+ * 1.68 s BEFORE the live track was born, on a frame that was in the pre-roll,
21292
+ * was decoded, and was freed.
21293
+ *
21294
+ * Shipping that as opt-in would ship the bug: an operator cannot discover a
21295
+ * setting whose absence looks exactly like a camera that noticed the cyclist
21296
+ * late. What makes ON safe is not a switch but the BOUND —
21297
+ * `preRollInferenceFrames`, a wall-clock ceiling, and a lane that never takes
21298
+ * the last inference permit — so the switch exists for the camera where the
21299
+ * history is worthless (a doorbell whose subject is always already at the
21300
+ * door), not as a hedge against the feature.
21301
+ */
21302
+ preRollInferenceEnabled: boolean().default(true),
21303
+ preRollInferenceFrames: number().min(preRollInferenceFramesField.min).max(preRollInferenceFramesField.max).default(preRollInferenceFramesField.default),
21263
21304
  occupancyRecheckEnabled: boolean().default(true),
21264
21305
  occupancyRecheckSec: number().min(occupancyRecheckSecField.min).max(occupancyRecheckSecField.max).default(occupancyRecheckSecField.default),
21265
21306
  occupancyRecheckFrames: number().min(occupancyRecheckFramesField.min).max(occupancyRecheckFramesField.max).default(occupancyRecheckFramesField.default),
@@ -21288,7 +21329,7 @@ var RunnerCameraConfigSchema = object({
21288
21329
  */
21289
21330
  inferenceDevices: array(RunnerInferenceDeviceSchema).readonly().optional()
21290
21331
  });
21291
- 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;
21332
+ 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;
21292
21333
  /**
21293
21334
  * Runtime load summary returned by `getLocalLoad`. Used by the orchestrator's
21294
21335
  * 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-hikvision",
3
- "version": "1.2.96",
3
+ "version": "1.2.97",
4
4
  "description": "Hikvision camera device provider addon for CamStack — ISAPI over HTTP(S) with digest auth (snapshot, alarm stream, RTSP discovery)",
5
5
  "keywords": [
6
6
  "camstack",