@mega-yfue/eufy-sdk 0.5.0-beta.13 → 0.5.0-beta.15

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.
@@ -384,6 +384,15 @@ export declare class MegaHttpClient {
384
384
  * params instead, which also carry `{param_type, param_value, update_time}` and are not owner-gated.
385
385
  */
386
386
  getDeviceParamList<T = unknown>(deviceSn: string): Promise<T>;
387
+ /**
388
+ * Fetch the account's devices as the `devicerelation` service lists them, `{attribute: 7, house_id: ""}`.
389
+ *
390
+ * Each entry is `{device: {device_sn, dps, …}}`, and `dps` is the cloud's last-known value of every
391
+ * data point that device has reported, keyed by DP number. Answered for an account a device is shared
392
+ * with as well as for its owner. Sent with `category: eufy_home`, without which the service answers
393
+ * `10000`.
394
+ */
395
+ getDeviceRelationList<T = unknown>(): Promise<T>;
387
396
  /**
388
397
  * Fetch one page of a device's **cleaning history** from the mega `clean` service.
389
398
  *
@@ -20,6 +20,8 @@ export declare class Fmp4Muxer {
20
20
  private lastVideoTimestampMs?;
21
21
  private readonly audioRequested;
22
22
  private audioCodec?;
23
+ /** Decoder config of an AAC-ELD track, taken from its frames; absent for AAC-LC, whose `esds` config is fixed. */
24
+ private audioConfig?;
23
25
  private audioDisabled;
24
26
  private audioSamples;
25
27
  private audioBaseDecodeTime;
@@ -37,7 +39,10 @@ export declare class Fmp4Muxer {
37
39
  * (e.g. delta frames before the first keyframe).
38
40
  */
39
41
  push(frame: LiveVideoFrame, timestampMs?: number): MediaFragment | undefined;
40
- /** Add one station-declared AAC access unit to the audio track. G.711 remains available via `live()`. */
42
+ /**
43
+ * Add one station-declared AAC access unit to the audio track: an ADTS frame for AAC-LC, a raw access unit
44
+ * described by its frame's config for AAC-ELD. G.711 remains available via `live()`.
45
+ */
41
46
  pushAudio(frame: LiveAudioFrame, timestampMs?: number): MediaFragment | undefined;
42
47
  /** Permanently omit incompatible audio while allowing the video recording to continue. */
43
48
  private disableAudio;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mega-yfue/eufy-sdk",
3
- "version": "0.5.0-beta.13",
3
+ "version": "0.5.0-beta.15",
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",