Delegate which handles the actual RTP/RTCP video/audio streaming and Snapshot requests.
When supplying this option, it will enable support for HomeKit Secure Video. This will create the CameraRecordingManagement, CameraOperatingMode and DataStreamTransportManagement services.
NOTE: The controller only initializes the required characteristics for the CameraOperatingMode.
You may add optional characteristics, if required, by accessing the service directly
Delegate which handles the audio/video recording data streaming on motion.
Options regarding Recordings (Secure Video)
This config section configures optional sensors for the camera. It e.g. may be used to set up a MOTION trigger when configuring Secure Video.
You may either specify and provide the desired Services or specify their creation and maintenance using a
In this case the controller will create and maintain the service for you.
Otherwise, when you supply an already created instance of the Service, you are responsible yourself to manage the service
(e.g. creating, restoring, adding to the accessory, ...).
The services can be accessed through the documented property after the call to configureController has returned.
Optionalmotion?: boolean | Service
Define if a MotionSensor should be created/associated with the controller.
You may access the created service via the motionService property to configure listeners.
If supplied, this sensor will be used as a MOTION trigger. The characteristic StatusActive will be added, which is used to enable or disable the sensor.
Optionaloccupancy?: boolean | Service
Define if a OccupancySensor should be created/associated with the controller.
You may access the created service via the occupancyService property to configure listeners.
The characteristic StatusActive will be added, which is used to enable or disable the sensor.
Options regarding video/audio streaming
Amount of parallel camera streams the accessory is capable of running. As of the official HAP specification non SecureVideo cameras have a minimum required amount of 2 (but 1 is also fine). Secure Video cameras just expose 1 stream.
Default value: 1