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