@camstack/addon-agent-ui 1.2.129 → 1.2.131
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 +21 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -8211,11 +8211,31 @@ var RecordingBandTriggersSchema = RecordingTriggersSchema;
|
|
|
8211
8211
|
* band engine's `applies` rule). `start`/`end` are `HH:MM`; an `end <= start`
|
|
8212
8212
|
* span wraps past midnight (handled by the band engine).
|
|
8213
8213
|
*/
|
|
8214
|
+
/**
|
|
8215
|
+
* Whether a band's footage carries sound.
|
|
8216
|
+
*
|
|
8217
|
+
* The recorder has always attached with `audio: 'aac'`, so every band of every
|
|
8218
|
+
* camera recorded sound whether anyone wanted it or not. The broker already
|
|
8219
|
+
* serves the other answer — `audio: 'none'` takes the video-only `/muted`
|
|
8220
|
+
* restream — so this was a choice the product could always have offered.
|
|
8221
|
+
*
|
|
8222
|
+
* It belongs on the BAND rather than the camera because one camera can want
|
|
8223
|
+
* both: silent across the shop floor during opening hours, sound overnight.
|
|
8224
|
+
* And it applies to BOTH modes — an events band firing on motion has the same
|
|
8225
|
+
* question to answer as a continuous one.
|
|
8226
|
+
*/
|
|
8227
|
+
var RecordingBandAudioSchema = _enum(["on", "muted"]);
|
|
8214
8228
|
var RecordingBandSchema = object({
|
|
8215
8229
|
days: array(RecordingWeekdaySchema),
|
|
8216
8230
|
start: string().regex(HHMM),
|
|
8217
8231
|
end: string().regex(HHMM),
|
|
8218
8232
|
mode: RecordingBandModeSchema,
|
|
8233
|
+
/**
|
|
8234
|
+
* Sound, or silence. OPTIONAL and absent-means-`on`: every recording
|
|
8235
|
+
* written before this existed carried sound, and a band whose key is
|
|
8236
|
+
* missing must keep meaning what it meant. See {@link RecordingBandAudioSchema}.
|
|
8237
|
+
*/
|
|
8238
|
+
audio: RecordingBandAudioSchema.optional(),
|
|
8219
8239
|
triggers: RecordingBandTriggersSchema.optional(),
|
|
8220
8240
|
/**
|
|
8221
8241
|
* RETIRED (D381). A band no longer carries a pre-buffer of its own.
|
|
@@ -40622,7 +40642,7 @@ var AgentUIAddon = class extends BaseAddon {
|
|
|
40622
40642
|
capability: adminUiCapability,
|
|
40623
40643
|
provider: {
|
|
40624
40644
|
getStaticDir: async () => ({ staticDir: path.resolve(__dirname) }),
|
|
40625
|
-
getVersion: async () => ({ version: "1.2.
|
|
40645
|
+
getVersion: async () => ({ version: "1.2.131" })
|
|
40626
40646
|
}
|
|
40627
40647
|
}];
|
|
40628
40648
|
}
|