@camstack/addon-provider-wyze 0.2.92 → 0.2.94

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