I upgraded my home assistant docker container to latest version yesterday and I see this error on startup -
2024-11-07 04:27:20.040 WARNING (MainThread) [haffmpeg.core] FFmpeg isn’t running!
2024-11-07 04:27:26.960 ERROR (MainThread) [homeassistant.components.go2rtc] Could not find go2rtc docker binary
2024-11-07 04:27:26.961 ERROR (MainThread) [homeassistant.setup] Setup failed for ‘go2rtc’: Integration failed to initialize.
Do i need to run go2rtc as additional docker for webrtc to work ? I had assumed (may incorrectly) that home assistant core will not have any dependency on any additional docker containers.
Same problem/warning here.
My home assistant is running in a python venv. It seems that everything is running fine.
I am interested in what the warning means and how to fix it
Big changes as Web RTC is.supported natively and can use Home Assistant cloud as TURN relay servers. Old methods are still supported but looks like using their native integration is the way to go now.
Sometimes, a direct connection between the client (like your browser or mobile app) and the camera is not possible; in those situations, the camera stream needs to be relayed by an external server. Home Assistant Cloud now provides this relay server (TURN server), and it’s included as one of the many benefits available to all subscribers!
So, no matter where you are, you should always be able to watch your cameras via this low-latency technology. If, for whatever reason, WebRTC is not available, it will fall back to using the old method of streaming to ensure you can always see your camera feeds.
So, after reading all of this, what changed? Well, camera feeds will do everything they did before, but will be faster, more responsive, and less delayed!
Although I use HAOS, from what I can tell, the homeassistant container spawns a go2rtc process using a go2rtc binary. Your logs seem to indicate that this binary is missing.
Looking at the homeassistant core docker file, the homeassistant core docker is suppose to get this binary (there are different binaries dependent on your computer’s hardware), so it seems this binary was not fetched in your case. May need to file an issue on this.
Take a look at the following docs, and download the binary for your particular hardware machine. As to where to place it, it will need to be somewhere that homeassistant core can execute it.
[Edit/Update] Here is a link that discusses go2rtc in python venv.