@camstack/addon-provider-hikvision 1.2.84 → 1.2.85

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
@@ -7946,13 +7946,28 @@ var RecordingBandSchema = object({
7946
7946
  end: string().regex(HHMM),
7947
7947
  mode: RecordingBandModeSchema,
7948
7948
  triggers: RecordingBandTriggersSchema.optional(),
7949
+ /**
7950
+ * RETIRED (D381). A band no longer carries a pre-buffer of its own.
7951
+ *
7952
+ * It was the retroactive KEEP bound — which already-written segments survive
7953
+ * a trigger — and it had to be at least as wide as the widest pre-roll the
7954
+ * broker could serve, or the gate would delete the seconds the ring had just
7955
+ * handed the writer. That "at least as wide as" is the tell: it was a second
7956
+ * expression of the broker's retention, in different units, in a different
7957
+ * addon, with an invariant the operator had to maintain by hand. The keep
7958
+ * bound is now derived from the one prebuffer ceiling and there is nothing
7959
+ * left to configure here.
7960
+ *
7961
+ * The key survives in the SHAPE so a config written before that record still
7962
+ * parses and can be migrated deliberately — `RecordingBandSchema` is not
7963
+ * strict, so simply deleting it would strip an operator's value in silence on
7964
+ * the next save (the failure D380 came one commit from shipping). Nothing
7965
+ * reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
7966
+ */
7949
7967
  preBufferSec: number().min(0).optional(),
7950
7968
  postBufferSec: number().min(0).optional()
7951
7969
  });
7952
- ({
7953
- preBufferSec: 15,
7954
- postBufferSec: 30
7955
- }).postBufferSec * 1e3;
7970
+ ({ postBufferSec: 30 }).postBufferSec * 1e3;
7956
7971
  /**
7957
7972
  * Per-device retention overrides. Every field is optional; an unset or `0`
7958
7973
  * value inherits the node-wide recorder default. Only footage-lifetime limits
package/dist/addon.mjs CHANGED
@@ -7947,13 +7947,28 @@ var RecordingBandSchema = object({
7947
7947
  end: string().regex(HHMM),
7948
7948
  mode: RecordingBandModeSchema,
7949
7949
  triggers: RecordingBandTriggersSchema.optional(),
7950
+ /**
7951
+ * RETIRED (D381). A band no longer carries a pre-buffer of its own.
7952
+ *
7953
+ * It was the retroactive KEEP bound — which already-written segments survive
7954
+ * a trigger — and it had to be at least as wide as the widest pre-roll the
7955
+ * broker could serve, or the gate would delete the seconds the ring had just
7956
+ * handed the writer. That "at least as wide as" is the tell: it was a second
7957
+ * expression of the broker's retention, in different units, in a different
7958
+ * addon, with an invariant the operator had to maintain by hand. The keep
7959
+ * bound is now derived from the one prebuffer ceiling and there is nothing
7960
+ * left to configure here.
7961
+ *
7962
+ * The key survives in the SHAPE so a config written before that record still
7963
+ * parses and can be migrated deliberately — `RecordingBandSchema` is not
7964
+ * strict, so simply deleting it would strip an operator's value in silence on
7965
+ * the next save (the failure D380 came one commit from shipping). Nothing
7966
+ * reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
7967
+ */
7950
7968
  preBufferSec: number().min(0).optional(),
7951
7969
  postBufferSec: number().min(0).optional()
7952
7970
  });
7953
- ({
7954
- preBufferSec: 15,
7955
- postBufferSec: 30
7956
- }).postBufferSec * 1e3;
7971
+ ({ postBufferSec: 30 }).postBufferSec * 1e3;
7957
7972
  /**
7958
7973
  * Per-device retention overrides. Every field is optional; an unset or `0`
7959
7974
  * value inherits the node-wide recorder default. Only footage-lifetime limits
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-hikvision",
3
- "version": "1.2.84",
3
+ "version": "1.2.85",
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",