Skip to content

@mega-yfue/eufy-sdk / SharedSourceHints

Interface: SharedSourceHints

Properties

powered?

ts
optional powered?: "wired" | "battery";

Power source, a runtime device fact ("battery" incl. solar, or "wired") — never a device-family trait. "wired" streams unbounded; "battery" bounds a continuous stream to a budget, after which the handle's budget notice offers an extension.


preBufferSeconds?

ts
optional preBufferSeconds?: number;

Seconds of already-captured media the pull retains for a later drain; 0, absent, non-finite and negative values retain none.

Retention costs memory on every frame and only a caller knows whether anything will drain it, so it is never assumed. Media can only be retained while the pull is running, so a window answers "what did the camera capture just before this" only for a pull something already opened.

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.