@mega-yfue/eufy-sdk / CameraDisabledError
Class: CameraDisabledError
A media pull was refused: the camera is switched off.
A disabled camera serves no live media, video or audio.
Raised by every media pull on the camera surface. The pulls that answer with a promise REJECT with it; fragment recording answers with a handle and therefore THROWS it at the call site rather than reporting it on the handle. A retained push thumbnail is exempt — it is not a pull.
Extends
Error
Constructors
Constructor
ts
new CameraDisabledError(camera, options?): CameraDisabledError;Parameters
camera
string | undefined
How the camera identifies itself to a reader — its name where the record carries one.
options?
cause?
unknown
Returns
CameraDisabledError
Overrides
ts
Error.constructorProperties
camera
ts
readonly camera: string | undefined;How the camera identifies itself to a reader — its name where the record carries one.