@camstack/addon-decoder-nodeav 1.2.76 → 1.2.77

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