Skip to content

@mega-yfue/eufy-sdk / SharedSourceHints

Interface: SharedSourceHints ​

Properties ​

powered? ​

ts
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
preBufferSeconds?: number;

Seconds of already-captured media the pull retains for a later drain; 0, absent, non-finite, negative, and windows longer than 2,147,483,647 ms 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.