Closed mgoeller closed 5 years ago
The masking of the corners is done the Home app. There is no indication of rounded corners in the HAP specification.
Correct, but the Home App is only masking the corners if the scale of the snapshot if the ratio is correct. The current 480x360 resolution of the snapshots is not officially accepted and results therefore in the UI error with the edged corners. The correct screenshots are produced when I edit the ffmpeg command to "-scale=1280:720".
The Snapshot should be cut to the correct resolution (according to Apple HomeKit certifications) so the corners are round (see left camera) and not edged (right camera). Actually this should be done with ffmpeg and resizing the video as well, because after opening and closing the live stream it will take the last image of the live stream as snapshot which is in this case "too big as well" and shows edged. This takes however a lot of resources, probably not very suitable for the Raspberry Pi Zero.![Screenshot 2019-06-24 at 13 01 23](https://user-images.githubusercontent.com/40425388/60014270-dda3f180-9680-11e9-9800-22ab719f958a.png)