@camstack/addon-export-hap 1.2.87 → 1.2.88
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/hap-export.addon.js +19 -4
- package/dist/hap-export.addon.mjs +19 -4
- package/package.json +1 -1
package/dist/hap-export.addon.js
CHANGED
|
@@ -8617,13 +8617,28 @@ var RecordingBandSchema = object({
|
|
|
8617
8617
|
end: string().regex(HHMM),
|
|
8618
8618
|
mode: RecordingBandModeSchema,
|
|
8619
8619
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
8620
|
+
/**
|
|
8621
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
8622
|
+
*
|
|
8623
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
8624
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
8625
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
8626
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
8627
|
+
* expression of the broker's retention, in different units, in a different
|
|
8628
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
8629
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
8630
|
+
* left to configure here.
|
|
8631
|
+
*
|
|
8632
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
8633
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
8634
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
8635
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
8636
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
8637
|
+
*/
|
|
8620
8638
|
preBufferSec: number().min(0).optional(),
|
|
8621
8639
|
postBufferSec: number().min(0).optional()
|
|
8622
8640
|
});
|
|
8623
|
-
({
|
|
8624
|
-
preBufferSec: 15,
|
|
8625
|
-
postBufferSec: 30
|
|
8626
|
-
}).postBufferSec * 1e3;
|
|
8641
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
8627
8642
|
/**
|
|
8628
8643
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
8629
8644
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -8605,13 +8605,28 @@ var RecordingBandSchema = object({
|
|
|
8605
8605
|
end: string().regex(HHMM),
|
|
8606
8606
|
mode: RecordingBandModeSchema,
|
|
8607
8607
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
8608
|
+
/**
|
|
8609
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
8610
|
+
*
|
|
8611
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
8612
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
8613
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
8614
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
8615
|
+
* expression of the broker's retention, in different units, in a different
|
|
8616
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
8617
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
8618
|
+
* left to configure here.
|
|
8619
|
+
*
|
|
8620
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
8621
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
8622
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
8623
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
8624
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
8625
|
+
*/
|
|
8608
8626
|
preBufferSec: number().min(0).optional(),
|
|
8609
8627
|
postBufferSec: number().min(0).optional()
|
|
8610
8628
|
});
|
|
8611
|
-
({
|
|
8612
|
-
preBufferSec: 15,
|
|
8613
|
-
postBufferSec: 30
|
|
8614
|
-
}).postBufferSec * 1e3;
|
|
8629
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
8615
8630
|
/**
|
|
8616
8631
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
8617
8632
|
* 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-export-hap",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.88",
|
|
4
4
|
"description": "HomeKit (HAP) exporter for CamStack devices. Publishes each exposed device as its own HomeKit accessory: cameras and doorbells with SRTP streaming, HomeKit Secure Video, motion, two-way audio, PTZ and battery; switches, lights, locks and sensors through a capability→service table.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|