@mega-yfue/eufy-sdk 0.5.0-beta.77 → 0.5.0-beta.78

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.
@@ -553,6 +553,7 @@ export declare const CAMERA_MEMBERS: {
553
553
  readonly description: "Camera status LED. Video doorbells report the same state under their button-ring LED parameter.";
554
554
  readonly write: (v: string | number | boolean, ctx: CommandContext) => Command;
555
555
  };
556
+ readonly views: import("./members.js").ProvidedMember<"media", (() => readonly number[]) | undefined>;
556
557
  /**
557
558
  * Media is not a property: it returns DATA rather than moving state, its options are richer than a
558
559
  * value, and it exists only on a device bound to a provider. Each is declared once, with its
@@ -49,6 +49,8 @@ export declare const isStation9000: (ctx: FamilyContext) => boolean;
49
49
  export declare const isNvrT8N00: (ctx: FamilyContext) => boolean;
50
50
  /** PoE cameras whose media is served by their NVR's portal call. */
51
51
  export declare const isNvrMediaCamera: (ctx: FamilyContext) => boolean;
52
+ /** PoE S4 camera with independently streamed fixed and movable optical views. */
53
+ export declare const isNvrDualLensCamera: (ctx: FamilyContext) => boolean;
52
54
  /** Video Doorbell C31 (T8223), identified by its reported model. */
53
55
  export declare const isDoorbellT8223: (ctx: FamilyContext) => boolean;
54
56
  /** Wired doorbell (DeviceType.DOORBELL). */
@@ -86,7 +86,7 @@ export declare class RtcCommandRouter {
86
86
  */
87
87
  trackMediaProviderFor(route: RtcRoute): MediaProvider;
88
88
  /** NVR media uses a dedicated call per camera, independent of station commands. */
89
- nvrMediaProviderFor(route: RtcLiveRoute): MediaProvider;
89
+ nvrMediaProviderFor(route: RtcLiveRoute, views: readonly number[]): MediaProvider;
90
90
  /** Share a dedicated-call source and its consumer operations under one route key. */
91
91
  private callMediaProviderFor;
92
92
  /**
@@ -42,8 +42,10 @@ export interface RtcLiveOptions {
42
42
  /** The station's `member.admin_user_id`. */
43
43
  accountId: string;
44
44
  logger?: Logger;
45
- /** NVR media owns and connects its session; uses the portal default sensor. */
45
+ /** NVR media owns and connects its session. */
46
46
  nvr?: boolean;
47
+ /** Optical view carried by the NVR start request; defaults to 0. */
48
+ view?: number;
47
49
  }
48
50
  /**
49
51
  * One camera's live pull. `start()` sends the start; a non-zero start ACK or a closed session ends it with
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mega-yfue/eufy-sdk",
3
- "version": "0.5.0-beta.77",
3
+ "version": "0.5.0-beta.78",
4
4
  "description": "One typed TypeScript client for the Anker eufy v6 cloud — capability-driven devices, realtime events over P2P/MQTT/push, and live media",
5
5
  "license": "Apache-2.0",
6
6
  "author": "mega-yfue",