Skip to content

@mega-yfue/eufy-sdk / AbortableCall

Interface: AbortableCall

How a caller abandons ONE media call, without touching the shared pull other callers hold.

Acquiring media can wait a long time before it can succeed or fail: a station has to connect, a level-2 key has to be negotiated or given up on, and a camera has to produce a keyframe. Measured at twenty seconds and more on a battery camera.

Aborting settles the call with an AbortError and gives back whatever it had taken, so a pull nothing else holds is released rather than left running for a caller that has gone. It never disturbs a pull another consumer is attached to: this abandons a call, not a stream.

Separate from SharedSourceHints on purpose. Those describe the pull a call may open and are fixed for everyone who joins it; this belongs to one call and to nobody else.

Properties

signal?

ts
optional signal?: AbortSignal;

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.