@camstack/addon-mqtt-broker 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/mqtt-broker.addon.js +19 -4
- package/dist/mqtt-broker.addon.mjs +19 -4
- package/package.json +1 -1
|
@@ -7980,13 +7980,28 @@ var RecordingBandSchema = object({
|
|
|
7980
7980
|
end: string().regex(HHMM),
|
|
7981
7981
|
mode: RecordingBandModeSchema,
|
|
7982
7982
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
7983
|
+
/**
|
|
7984
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
7985
|
+
*
|
|
7986
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
7987
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
7988
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
7989
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
7990
|
+
* expression of the broker's retention, in different units, in a different
|
|
7991
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
7992
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
7993
|
+
* left to configure here.
|
|
7994
|
+
*
|
|
7995
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
7996
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
7997
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
7998
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
7999
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
8000
|
+
*/
|
|
7983
8001
|
preBufferSec: number().min(0).optional(),
|
|
7984
8002
|
postBufferSec: number().min(0).optional()
|
|
7985
8003
|
});
|
|
7986
|
-
({
|
|
7987
|
-
preBufferSec: 15,
|
|
7988
|
-
postBufferSec: 30
|
|
7989
|
-
}).postBufferSec * 1e3;
|
|
8004
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
7990
8005
|
/**
|
|
7991
8006
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7992
8007
|
* value inherits the node-wide recorder default. Only footage-lifetime limits
|
|
@@ -7975,13 +7975,28 @@ var RecordingBandSchema = object({
|
|
|
7975
7975
|
end: string().regex(HHMM),
|
|
7976
7976
|
mode: RecordingBandModeSchema,
|
|
7977
7977
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
7978
|
+
/**
|
|
7979
|
+
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
7980
|
+
*
|
|
7981
|
+
* It was the retroactive KEEP bound — which already-written segments survive
|
|
7982
|
+
* a trigger — and it had to be at least as wide as the widest pre-roll the
|
|
7983
|
+
* broker could serve, or the gate would delete the seconds the ring had just
|
|
7984
|
+
* handed the writer. That "at least as wide as" is the tell: it was a second
|
|
7985
|
+
* expression of the broker's retention, in different units, in a different
|
|
7986
|
+
* addon, with an invariant the operator had to maintain by hand. The keep
|
|
7987
|
+
* bound is now derived from the one prebuffer ceiling and there is nothing
|
|
7988
|
+
* left to configure here.
|
|
7989
|
+
*
|
|
7990
|
+
* The key survives in the SHAPE so a config written before that record still
|
|
7991
|
+
* parses and can be migrated deliberately — `RecordingBandSchema` is not
|
|
7992
|
+
* strict, so simply deleting it would strip an operator's value in silence on
|
|
7993
|
+
* the next save (the failure D380 came one commit from shipping). Nothing
|
|
7994
|
+
* reads it: {@link stripRetiredBandPreBufferSec} removes it on load.
|
|
7995
|
+
*/
|
|
7978
7996
|
preBufferSec: number().min(0).optional(),
|
|
7979
7997
|
postBufferSec: number().min(0).optional()
|
|
7980
7998
|
});
|
|
7981
|
-
({
|
|
7982
|
-
preBufferSec: 15,
|
|
7983
|
-
postBufferSec: 30
|
|
7984
|
-
}).postBufferSec * 1e3;
|
|
7999
|
+
({ postBufferSec: 30 }).postBufferSec * 1e3;
|
|
7985
8000
|
/**
|
|
7986
8001
|
* Per-device retention overrides. Every field is optional; an unset or `0`
|
|
7987
8002
|
* 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-mqtt-broker",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.77",
|
|
4
4
|
"description": "MQTT broker registry addon for CamStack — manages external broker entries + an optional embedded aedes broker. Consumers spin up their own `mqtt.js` clients via the `mqtt-broker` cap.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|