-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Re-using homekit URL from HomeAssistant results in ffmpeg initialization error #1082
Comments
Is the Frigate container running with the network host setting? |
apologies for taking a while to respond, but i don't get a lot of time to look into home networking issues. for my case, i am running frigate along with other containers on a MAC VLAN network - i.e. each container has its own virtual NIC that shows up on the physical network. |
Go2rtc should run in the host network to get the HomeKit protocol working |
got it; i would rather not move to the host networking mode. having each container be a separate endpoint on the network makes traffic shaping and firewall rules easier to manage. fwiw, the doorbell camera is routable for the HomeAssistant docker container as i have used HA as the HomeKit controller for it. also, the Frigate container can talk to the HomeAssistant container since i have camera entities in HomeAssistant for the go2rtc-reflected RTSP cameras. i suppose i could host another go2rtc instance just to reflect the doorbell camera as an RTSP stream that Frigate can consume, but that seems convoluted. given that the containers are routable to each other, and HA can talk to the doorbell camera, and the containers are under the same traffic shaping rules, what is it about the HomeKit protocol that requires host-mode networking? |
Additional inbound ports for this protocol to work. mDNS and SRTP. They are static. |
I am using Frigate's builtin go2rtc running in a docker instance. I have a HomeAssistant docker instance on the same box. The config path for HomeAssistant is mapped into the Frigate docker instance at /hass_config.
I have go2rtc configured like this inside the frigate configuration, and the frigate configuration is below that
note i have a number of other plain PoE RTSP cameras that are working fine with go2rtc + frigate doing both detection and recording. the above snippet just shows the one HomeKit camera i have for the doorbell. also note that i tried
hass:camera.doorbell
as well for the URL but i kept gettingno entity_id
and 404 errors in the log. i manually formatted thehomekit://
URL as above.when i start things up, i get
Could not find codec parameters for stream 0 (Video: h264, 1 reference frame, none): unspecified size
i tried increasing the
analyzeduration
andprobesize
values as suggested, but that didn't work either.the information ffmpeg is able to get out of go2rtc is:
The text was updated successfully, but these errors were encountered: