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

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.
@@ -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.14",
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",