Make the new webrtc card work with Frigate NVR

I’m trying to utilize the new WebRTC card in HA 2024.11 with Frigate. The native Frigate card works without any problem. However, either glace card or image card works with Frigate. The glace card works perfectly with a direct connection to the camera, but if I select a frigate camera, it just shows the first frame and then stops.

What’s strange is that the HA log is complete of these:

Error from stream worker: Error opening stream (ERRORTYPE_111, Connection refused, rtsp://my_frigate_host:2000/main-entrance)

Why does it try to connect to port 2000 instead of 8554, where the Frigate restream is?

PS: Frigate stream works fine from the cli:

$ ffplay  rtsp://my_frigate_host:8554/main-entrance

I can confirm I have the same behavior but the port seems correct for me. So went back again to using the Frigate card.

By the way, what would be the fastest config for the frigate card now? I was using go2rtc as it was mentioned to have a loading time of ‘better’ here:
live_provider

Should that have changed with this update? So should I switch to the Live view provider ‘Home assistant video stream’ ?

Here’s the full entry in my log
Logger: homeassistant.components.stream.stream.camera.camera_voor
Source: components/stream/init.py:448
integration: Stream (documentation, issues)
First occurred: 21:18:42 (10 occurrences)
Last logged: 21:26:45

Error from stream worker: Error opening stream (HTTP_NOT_FOUND, Server returned 404 Not Found, rtsp://192.168.0.202:8554/camera_voor)
Error from stream worker: Error opening stream (INVALIDDATA, Invalid data found when processing input, rtsp://192.168.0.202:8554/camera_voor)

I actually managed to get it working. There is an RSTP address setting in Frigate integration config. For some reason it defaults to port 2000.

The other problem, HA for some reason inserts some random IP in candidates for webrtc, so so starting video actually takes some time, but it works eventually.