Closed theproducer closed 7 months ago
Thanks for the support request! Good news and bad news…congrats on finding an error I hadn’t seen before (good news)…but it’s a new one for me (bad news). 😄
That said, I’m guessing you’re running in a containerized environment…my strong recommendation, especially on Apple platforms for HBUP: do not. You can take advantage of hardware acceleration and better performance and quality characteristics across the board by using Homebridge/HBUP natively on the Mac.
All that said…I do not think there is much I can do here, this isn’t an HBUP error, it’s either an issue with FFmpeg or with the camera/controller, from what I can see. A few questions:
Thanks for looking into this! This is a brand new installation, everything is running natively, no containers (the Mac Mini is running headless with Fedora Server 39 fully installed on the hardware). I tried also running with NODE_OPTIONS set to --openssl-legacy-provider
in case it was a Node 17+ OpenSSL related issue, that didn't work either.
Since you mentioned it possibly being an issue in FFmpeg, I pointed the HBUP FFmpeg binary path to a Fedora packaged version of FFmpeg and it worked (sans sound). With that in mind, I then built ffmpeg-for-homebridge from source (for fdk_aac
support), and everything works as it should.
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
v6.16.0
Homebridge Platform and OS
Apple Mac Mini A1347 - Fedora Server 39
Homebridge Version
v1.7.0
Node Version
v20.9.0
UniFi OS Version
v3.1.16
UniFi Protect Controller Version
v2.9.42
Describe the problem
Cameras appear in the Home app, along with thumbnail previews, however live video streams cannot be started, with a corresponding error appearing the log output.
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