Skip to content

@mega-yfue/eufy-sdk / TimedMediaFrame

Type Alias: TimedMediaFrame ​

ts
type TimedMediaFrame = 
  | {
  config: LiveVideoConfig;
  frame: LiveVideoFrame;
  kind: "video";
  timestampMs: number;
}
  | {
  frame: LiveAudioFrame;
  kind: "audio";
  timestampMs: number;
};

One media frame retained with its transport-arrival time for prebuffer continuity.

A video frame carries the coded configuration in force when it arrived, so a prebuffer drain announces the configuration its retained media was coded under.

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations, Anker eufy, or eufy. "Anker eufy", "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.