@camstack/addon-provider-reolink 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
@@ -7263,7 +7263,21 @@ var StorageLocationDeclarationSchema = object({
7263
7263
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7264
7264
  * configure the primary location.
7265
7265
  */
7266
- defaultsTo: string().optional()
7266
+ defaultsTo: string().optional(),
7267
+ /**
7268
+ * Which node root the seeded `<id>:default` instance is placed under on a
7269
+ * FRESH install:
7270
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7271
+ * the appData volume. Right for small/durable data (backups, logs, models).
7272
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7273
+ * env is set, else falls back to the data root. Right for bulky, hot media
7274
+ * (recordings, event media) that should stay off the appData disk.
7275
+ *
7276
+ * Only affects the seeded default's `basePath`; operators can repoint any
7277
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7278
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7279
+ */
7280
+ defaultRoot: _enum(["data", "media"]).optional()
7267
7281
  });
7268
7282
  var DecoderStatsSchema = object({
7269
7283
  inputFps: number(),
@@ -8658,6 +8672,10 @@ var RtspRestreamEntrySchema = object({
8658
8672
  var BrokerRtspClientSchema = object({
8659
8673
  sessionId: string(),
8660
8674
  remoteAddr: string(),
8675
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
8676
+ * null/absent when the client sent none. Lets the UI label a consumer by
8677
+ * purpose. Optional so a client built against an older schema stays valid. */
8678
+ userAgent: string().nullish(),
8661
8679
  playing: boolean(),
8662
8680
  muted: boolean(),
8663
8681
  connectedAt: number(),
@@ -218714,7 +218732,7 @@ var ReolinkCamera = class ReolinkCamera extends BaseDevice {
218714
218732
  */
218715
218733
  resolveAudioCodecApi() {
218716
218734
  const router = this.ctx.api.audioCodec;
218717
- if (!router) throw new Error("Reolink intercom: `audio-codec` capability is not mounted. Install + enable the `addon-audio-codec-nodeav` addon (or any other addon that provides the `audio-codec` capability) before opening a talk session.");
218735
+ if (!router) throw new Error("Reolink intercom: `audio-codec` capability is not mounted. Install + enable the `addon-audio-codec-ffmpeg` addon (or any other addon that provides the `audio-codec` capability) before opening a talk session.");
218718
218736
  return {
218719
218737
  createDecodeSession: (input) => router.createDecodeSession.mutate(input),
218720
218738
  pushEncodedFrame: (input) => router.pushEncodedFrame.mutate(input),
package/dist/addon.mjs CHANGED
@@ -7258,7 +7258,21 @@ var StorageLocationDeclarationSchema = object({
7258
7258
  * slots (e.g. `recordingsLow` → `recordings`) so operators only need to
7259
7259
  * configure the primary location.
7260
7260
  */
7261
- defaultsTo: string().optional()
7261
+ defaultsTo: string().optional(),
7262
+ /**
7263
+ * Which node root the seeded `<id>:default` instance is placed under on a
7264
+ * FRESH install:
7265
+ * - `'data'` (default) — the node's data dir (`CAMSTACK_DATA` / boot dir),
7266
+ * the appData volume. Right for small/durable data (backups, logs, models).
7267
+ * - `'media'` — the dedicated media volume (`CAMSTACK_MEDIA_ROOT`) when that
7268
+ * env is set, else falls back to the data root. Right for bulky, hot media
7269
+ * (recordings, event media) that should stay off the appData disk.
7270
+ *
7271
+ * Only affects the seeded default's `basePath`; operators can repoint any
7272
+ * location afterwards, and a `defaultsTo` slot inherits its parent's root
7273
+ * regardless of this field. Absent (the common case) is treated as `'data'`.
7274
+ */
7275
+ defaultRoot: _enum(["data", "media"]).optional()
7262
7276
  });
7263
7277
  var DecoderStatsSchema = object({
7264
7278
  inputFps: number(),
@@ -8653,6 +8667,10 @@ var RtspRestreamEntrySchema = object({
8653
8667
  var BrokerRtspClientSchema = object({
8654
8668
  sessionId: string(),
8655
8669
  remoteAddr: string(),
8670
+ /** Client `User-Agent` (e.g. `recorder` for the recorder's RTSP pull), or
8671
+ * null/absent when the client sent none. Lets the UI label a consumer by
8672
+ * purpose. Optional so a client built against an older schema stays valid. */
8673
+ userAgent: string().nullish(),
8656
8674
  playing: boolean(),
8657
8675
  muted: boolean(),
8658
8676
  connectedAt: number(),
@@ -218694,7 +218712,7 @@ var ReolinkCamera = class ReolinkCamera extends BaseDevice {
218694
218712
  */
218695
218713
  resolveAudioCodecApi() {
218696
218714
  const router = this.ctx.api.audioCodec;
218697
- if (!router) throw new Error("Reolink intercom: `audio-codec` capability is not mounted. Install + enable the `addon-audio-codec-nodeav` addon (or any other addon that provides the `audio-codec` capability) before opening a talk session.");
218715
+ if (!router) throw new Error("Reolink intercom: `audio-codec` capability is not mounted. Install + enable the `addon-audio-codec-ffmpeg` addon (or any other addon that provides the `audio-codec` capability) before opening a talk session.");
218698
218716
  return {
218699
218717
  createDecodeSession: (input) => router.createDecodeSession.mutate(input),
218700
218718
  pushEncodedFrame: (input) => router.pushEncodedFrame.mutate(input),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-reolink",
3
- "version": "1.1.11",
3
+ "version": "1.1.13",
4
4
  "description": "Reolink camera device provider addon for CamStack — native Baichuan protocol",
5
5
  "keywords": [
6
6
  "camstack",
@@ -43,7 +43,8 @@
43
43
  "instanceMode": "unique",
44
44
  "mode": "standalone",
45
45
  "execution": {
46
- "placement": "hub-only"
46
+ "placement": "hub-only",
47
+ "heapProfile": "heavy"
47
48
  },
48
49
  "capabilities": [
49
50
  {