Skip to content

@mega-yfue/eufy-sdk / StationBusyError

Class: StationBusyError

A live stream was refused: the station is already serving another of its cameras to a viewer.

A station fans several cameras out over one session and serves ONE of them at a time. Accepting a second live pull does not make it serve two: measured on a base carrying three attached cameras, each opened stream took the station from the others in turn and all three received their media in bursts. So a second viewer is refused rather than admitted and degraded, which is the difference between a caller being told the constraint and a caller watching every picture stutter.

Which camera deserves the station is the caller's decision, not the SDK's, so nothing is queued or pre-empted here.

A still is not refused: it yields the station instead, and answers with the retained image where one is held. Only pulls that deliver continuous media contend for a viewer's place.

Extends

  • Error

Constructors

Constructor

ts
new StationBusyError(servingChannel, options?): StationBusyError;

Parameters

servingChannel

number

The channel the station is already serving.

options?
cause?

unknown

Returns

StationBusyError

Overrides

ts
Error.constructor

Properties

retryable

ts
readonly retryable: true = true;

Always true: the station is busy now, and stops being busy when the other stream is released.


servingChannel

ts
readonly servingChannel: number;

The channel the station is already serving.

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.