Skip to content

@mega-yfue/eufy-sdk / LiveSnapshotUnavailableReason

Type Alias: LiveSnapshotUnavailableReason

ts
type LiveSnapshotUnavailableReason = 
  | "no-keyframe"
  | "source-failed"
  | "undecodable-burst"
  | "decoder-unavailable";

Why MediaProvider.snapshotLive could not return a still.

  • no-keyframe — no clean keyframe arrived within the acquisition window, and the live source never reported a failure of its own. The source may simply be slower than the window allowed.
  • source-failed — the live source reported a failure, so the burst will not arrive at all. Distinct from no-keyframe because it is known rather than merely elapsed, and it is known EARLY: a caller gets it instead of waiting out the window on a source that has already given up.
  • undecodable-burst — a burst was collected but the decoder refused it. Per-attempt framing, not a property of the camera.
  • decoder-unavailable — the decoder could not be run at all.

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.