@camstack/addon-provider-rtsp 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
@@ -7051,7 +7051,21 @@ var StorageLocationDeclarationSchema = object({
7051
7051
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7052
7052
  * configure the primary location.
7053
7053
  */
7054
- defaultsTo: string().optional()
7054
+ defaultsTo: string().optional(),
7055
+ /**
7056
+ * Which node root the seeded `<id>:default` instance is placed under on a
7057
+ * FRESH install:
7058
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7059
+ * the appData volume. Right for small/durable data (backups, logs, models).
7060
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7061
+ * env is set, else falls back to the data root. Right for bulky, hot media
7062
+ * (recordings, event media) that should stay off the appData disk.
7063
+ *
7064
+ * Only affects the seeded default's `basePath`; operators can repoint any
7065
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7066
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7067
+ */
7068
+ defaultRoot: _enum(["data", "media"]).optional()
7055
7069
  });
7056
7070
  /**
7057
7071
  * Compute pixel count for sorting. Returns w*h, or 0 if unknown.
@@ -8439,6 +8453,10 @@ var RtspRestreamEntrySchema = object({
8439
8453
  var BrokerRtspClientSchema = object({
8440
8454
  sessionId: string(),
8441
8455
  remoteAddr: string(),
8456
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
8457
+ * null/absent when the client sent none. Lets the UI label a consumer by
8458
+ * purpose. Optional so a client built against an older schema stays valid. */
8459
+ userAgent: string().nullish(),
8442
8460
  playing: boolean(),
8443
8461
  muted: boolean(),
8444
8462
  connectedAt: number(),
package/dist/addon.mjs CHANGED
@@ -7050,7 +7050,21 @@ var StorageLocationDeclarationSchema = object({
7050
7050
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7051
7051
  * configure the primary location.
7052
7052
  */
7053
- defaultsTo: string().optional()
7053
+ defaultsTo: string().optional(),
7054
+ /**
7055
+ * Which node root the seeded `<id>:default` instance is placed under on a
7056
+ * FRESH install:
7057
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7058
+ * the appData volume. Right for small/durable data (backups, logs, models).
7059
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7060
+ * env is set, else falls back to the data root. Right for bulky, hot media
7061
+ * (recordings, event media) that should stay off the appData disk.
7062
+ *
7063
+ * Only affects the seeded default's `basePath`; operators can repoint any
7064
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7065
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7066
+ */
7067
+ defaultRoot: _enum(["data", "media"]).optional()
7054
7068
  });
7055
7069
  /**
7056
7070
  * Compute pixel count for sorting. Returns w*h, or 0 if unknown.
@@ -8438,6 +8452,10 @@ var RtspRestreamEntrySchema = object({
8438
8452
  var BrokerRtspClientSchema = object({
8439
8453
  sessionId: string(),
8440
8454
  remoteAddr: string(),
8455
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
8456
+ * null/absent when the client sent none. Lets the UI label a consumer by
8457
+ * purpose. Optional so a client built against an older schema stays valid. */
8458
+ userAgent: string().nullish(),
8441
8459
  playing: boolean(),
8442
8460
  muted: boolean(),
8443
8461
  connectedAt: number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-rtsp",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "description": "Generic RTSP camera device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",