@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
new StationBusyError(servingChannel, options?): StationBusyError;Parameters
servingChannel
number
The channel the station is already serving.
options?
cause?
unknown
Returns
StationBusyError
Overrides
Error.constructorProperties
retryable
readonly retryable: true = true;Always true: the station is busy now, and stops being busy when the other stream is released.
servingChannel
readonly servingChannel: number;The channel the station is already serving.