@camstack/addon-provider-reolink 1.2.99 → 1.2.100
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
|
@@ -8240,13 +8240,28 @@ var RecordingBandSchema = object({
|
|
|
8240
8240
|
end: string().regex(HHMM),
|
|
8241
8241
|
mode: RecordingBandModeSchema,
|
|
8242
8242
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
8243
|
+
/**
|
|
8244
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
8245
|
+
*
|
|
8246
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
8247
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
8248
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
8249
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
8250
|
+
* expression of the broker's retention, in different units, in a different
|
|
8251
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
8252
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
8253
|
+
* left to configure here.
|
|
8254
|
+
*
|
|
8255
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
8256
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
8257
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
8258
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
8259
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
8260
|
+
*/
|
|
8243
8261
|
preBufferSec: number().min(0).optional(),
|
|
8244
8262
|
postBufferSec: number().min(0).optional()
|
|
8245
8263
|
});
|
|
8246
|
-
({
|
|
8247
|
-
preBufferSec: 15,
|
|
8248
|
-
postBufferSec: 30
|
|
8249
|
-
}).postBufferSec * 1e3;
|
|
8264
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
8250
8265
|
/**
|
|
8251
8266
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
8252
8267
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
package/dist/addon.mjs
CHANGED
|
@@ -8235,13 +8235,28 @@ var RecordingBandSchema = object({
|
|
|
8235
8235
|
end: string().regex(HHMM),
|
|
8236
8236
|
mode: RecordingBandModeSchema,
|
|
8237
8237
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
8238
|
+
/**
|
|
8239
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
8240
|
+
*
|
|
8241
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
8242
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
8243
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
8244
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
8245
|
+
* expression of the broker's retention, in different units, in a different
|
|
8246
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
8247
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
8248
|
+
* left to configure here.
|
|
8249
|
+
*
|
|
8250
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
8251
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
8252
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
8253
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
8254
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
8255
|
+
*/
|
|
8238
8256
|
preBufferSec: number().min(0).optional(),
|
|
8239
8257
|
postBufferSec: number().min(0).optional()
|
|
8240
8258
|
});
|
|
8241
|
-
({
|
|
8242
|
-
preBufferSec: 15,
|
|
8243
|
-
postBufferSec: 30
|
|
8244
|
-
}).postBufferSec * 1e3;
|
|
8259
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
8245
8260
|
/**
|
|
8246
8261
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
8247
8262
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|