Add homekit camera support (#32527)
* Add homekit camera support * Cleanup pyhapcamera inheritance * Add camera to homekit manifest * Use upstream pyhap server handler in homekit * Remove unused homekit constants * Fix lint errors in homekit camera * Update homekit camera log messages * Black after conflict fixes * More conflict fixes * missing srtp * Allow streaming retry when ffmpeg fails to connect * Fix inherit of camera config, force kill ffmpeg on failure * Fix audio (Home Assistant only comes with OPUS) * Fix audio (Home Assistant only comes with OPUS) * Add camera to the list of supported domains. * add a test for camera creation * Add a basic test (still needs more as its only at 44% cover) * let super handle reconfigure_stream * Remove scaling as it does not appear to be needed and causes artifacts * Some more basic tests * make sure no exceptions when finding the source from the entity * make sure the bridge forwards get_snapshot * restore full coverage to accessories.py * revert usage of super for start/stop stream * one more test * more mocking * Remove -tune zerolatency, disable reconfigure_stream * Restore -tune zerolatency Co-authored-by: John Carr <john.carr@unrouted.co.uk> Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
f9b420a5a5
commit
dd715fcc3a
9 changed files with 691 additions and 3 deletions
|
@ -38,6 +38,7 @@ SUPPORTED_DOMAINS = [
|
|||
"alarm_control_panel",
|
||||
"automation",
|
||||
"binary_sensor",
|
||||
"camera",
|
||||
"climate",
|
||||
"cover",
|
||||
"demo",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue