@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.