Home Assistant adds HomeKit Secure Video recording for cameras exposed to Apple Home in accessory mode. Owners opt in for each camera and link a motion sensor, giving the home hub the signal to request a recording.
Raphael Hehl tested a UniFi Protect G4 Dome sending H.264 video: motion produced a recording in the Home app and the hub ended it normally. Turning a camera off in Apple Home also stops its live video and snapshots; changing recording or audio permissions ends an active recording.
The implementation does not yet buffer footage before recording begins. In the reported test, converting an H.265 stream took too long to satisfy the home hub, so that path remains unfinished.