Class LegacyCameraSourceAdapter

Implements

Constructors

Methods

  • This method is called when a HomeKit controller requests a snapshot image for the given camera. The handler must respect the desired image height and width given in the SnapshotRequest. The returned Buffer (via the callback) must be encoded in jpeg.

    HAP-NodeJS will complain about slow running handlers after 5 seconds and terminate the request after 15 seconds.

    Parameters

    Returns void