@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?
optional signal?: AbortSignal;