Closed marsbars-marsbars closed 3 months ago
TL;DR: This is an Apple TV bug, not an HBUP issue. It's been around for a while...feel free to search old issues. Apple TVs cannot handle untranscoded streams - they are too high quality / data for it. Shouldn't be the case but it is.
One of many reasons why the HBUP defaults are the defaults. You'll need to either stick with the defaults (specifically transcoding) or stop trying to stream on an ATV. Hopefully Apple eventually gets to it. Best of luck.
This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions.
Homebridge UniFi Protect Version
7.1.2
Homebridge Platform and OS
Raspbian GNU/Linux Buster (10) ; Pi 3+
Homebridge Version
Homebridge v1.8.3 (HAP v0.12.2)
Node Version
v18.17.0
UniFi OS Version
v3.2.12
UniFi Protect Controller Version
v4.0.33
Describe the problem
Using AppleTV to view cameras from Homekit. Upon opening, the cameras start to refresh, with zero delays, once a few cameras in, I get the error - and over a few more min, homebrdige locks up and becomes 100% unresponsive. Requiring a physical restart.
The FFmpeg process ended unexpectedly due to issues with the media stream provided by the UniFi Protect livestream API. Adjusting the settings we use for FFmpeg temporarily to use safer values at the expense of some additional streaming startup latency.
Homebridge HBUP JSON configuration
Relevant log output
Acknowledgment that you are only running UniFi OS and UniFi Protect releases from the Ubiquiti Official release channel