Skip to content

@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.constructor

Properties

camera

ts
readonly camera: string | undefined;

How the camera identifies itself to a reader — its name where the record carries one.

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.