@camstack/addon-provider-onvif 1.1.11 → 1.1.13

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 CHANGED
@@ -7048,7 +7048,21 @@ var StorageLocationDeclarationSchema = object({
7048
7048
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7049
7049
  * configure the primary location.
7050
7050
  */
7051
- defaultsTo: string().optional()
7051
+ defaultsTo: string().optional(),
7052
+ /**
7053
+ * Which node root the seeded `<id>:default` instance is placed under on a
7054
+ * FRESH install:
7055
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7056
+ * the appData volume. Right for small/durable data (backups, logs, models).
7057
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7058
+ * env is set, else falls back to the data root. Right for bulky, hot media
7059
+ * (recordings, event media) that should stay off the appData disk.
7060
+ *
7061
+ * Only affects the seeded default's `basePath`; operators can repoint any
7062
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7063
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7064
+ */
7065
+ defaultRoot: _enum(["data", "media"]).optional()
7052
7066
  });
7053
7067
  var DecoderStatsSchema = object({
7054
7068
  inputFps: number(),
@@ -7999,6 +8013,10 @@ var RtspRestreamEntrySchema = object({
7999
8013
  var BrokerRtspClientSchema = object({
8000
8014
  sessionId: string(),
8001
8015
  remoteAddr: string(),
8016
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
8017
+ * null/absent when the client sent none. Lets the UI label a consumer by
8018
+ * purpose. Optional so a client built against an older schema stays valid. */
8019
+ userAgent: string().nullish(),
8002
8020
  playing: boolean(),
8003
8021
  muted: boolean(),
8004
8022
  connectedAt: number(),
package/dist/addon.mjs CHANGED
@@ -7049,7 +7049,21 @@ var StorageLocationDeclarationSchema = object({
7049
7049
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7050
7050
  * configure the primary location.
7051
7051
  */
7052
- defaultsTo: string().optional()
7052
+ defaultsTo: string().optional(),
7053
+ /**
7054
+ * Which node root the seeded `<id>:default` instance is placed under on a
7055
+ * FRESH install:
7056
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7057
+ * the appData volume. Right for small/durable data (backups, logs, models).
7058
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7059
+ * env is set, else falls back to the data root. Right for bulky, hot media
7060
+ * (recordings, event media) that should stay off the appData disk.
7061
+ *
7062
+ * Only affects the seeded default's `basePath`; operators can repoint any
7063
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7064
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7065
+ */
7066
+ defaultRoot: _enum(["data", "media"]).optional()
7053
7067
  });
7054
7068
  var DecoderStatsSchema = object({
7055
7069
  inputFps: number(),
@@ -8000,6 +8014,10 @@ var RtspRestreamEntrySchema = object({
8000
8014
  var BrokerRtspClientSchema = object({
8001
8015
  sessionId: string(),
8002
8016
  remoteAddr: string(),
8017
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
8018
+ * null/absent when the client sent none. Lets the UI label a consumer by
8019
+ * purpose. Optional so a client built against an older schema stays valid. */
8020
+ userAgent: string().nullish(),
8003
8021
  playing: boolean(),
8004
8022
  muted: boolean(),
8005
8023
  connectedAt: number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-onvif",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "description": "ONVIF camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",