-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
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
2024.11.0 breaks Frigate camera streaming when WebRTC is disabled in Frigate integration configuration #129990
Comments
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) go2rtc documentation |
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) camera documentation |
Please provide diagnostic information and logs. The error above shows that the Camera entity provided by frigate does not support WebRTC |
Diagnostics of which integration? I also could not find any relevant logs.
Yes, but as I said, the 2024.11.0 release notes mentions that Home Assistant will fallback to the old player when WebRTC does not work. This bug report is about this fallback mechanism which isn't working. That said, all it takes for Frigate integration to support WebRTC is to: And then streaming cameras through HA works again. I'll retitle the issue to make this clearer. |
Same here, but with webrtc disabled and stream stopped working. |
in my browser console, I can see an invalid URL being queried:
|
@edenhaus you can give a try to the Frigate integration devcontainer: https://github.com/blakeblackshear/frigate-hass-integration It should come with both Frigate and Home Assistant pre-configured, which should allow you to catch the issue very easily. |
This comment was marked as off-topic.
This comment was marked as off-topic.
I've upgraded core to 2024.11.0 and after that the frigate card didn't work properly. Clips and recordings didn't play anymore. |
Same, after upgrade. When open camera stream in logs I have such error
Also, my cameras stream in h265, supposed, webrtc should not work(I may be wrong). So, homeassistant should fallback to hls, but it does not and stream is frozen. |
I have managed to find the source of that error in go2rtc log file
definitely, webrtc not supported on my cameras (H265) and GO2RTC integration does not process it correctly and fails.
As it states in release notes - it should fallback to hls. Personally, I will consider it as a bug. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
even i enable webrtc for frigate still unable to load camera |
The solution for now is to downgrade to 2024.10.x: |
The problem is that the custom component I tried to contact the maintainer but have yet to receive a response. Please report the issue to the author of the custom component. |
Thanks @edenhaus , we'll work on this. For future reference, how did you determine who to contact? I am suspecting we should update |
This comment has been minimized.
This comment has been minimized.
Latest custom frigate component update solved my issue , noting that i enabled webrtc option at frigate componenet
…On Mon, 25 Nov 2024, 11:10 am On Freund, ***@***.***> wrote:
@edenhaus <https://github.com/edenhaus>
Can you point me to where this was discussed?
The fallback was implemented to allow things like cast to work. Frigate
cameras support both webrtc and RTSP, so it seems inefficient to only serve
one of them and rely on additional HA mechanisms to convert.
Native WebRTC cameras don't support HLS, so the core will not fall back to
HLS.
That's true for Nest, but I don't think you can make this generalization,
and in particular, Frigate cameras do support both.
—
Reply to this email directly, view it on GitHub
<#129990 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO3B3TDZWXSBTYDLAJFEEX32CLLOBAVCNFSM6AAAAABRJ3I3U6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOJXGE3TQMJTGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@dermotduffy I contacted
This is currently a limitation of HA. The HLS stream component needs a stream source, and native WebRTC cameras only need the WebRTC functions. Therefore, HLS cannot work, and we cannot fallback to HLS. |
@edenhaus I tagged you on the arch discussion from back then, |
This is incorrect! The go2rtc provider will only be used, when the camera entity is not supporting WebRTC. So the above-mentioned one is not possible.
There was no fallback before and we did not remove one. We did not add the fallback for WebRTC cameras as they don't need to provide a stream source, which is needed for HLS support. Locking this issue as the latest comments are not related to this issue. |
The problem
The following shows up in my browser logs:
I believe this is a bug, because the 2024.11.0 release notes states that the former playback method would be used as fallback (which never happens, the player is just stuck).
What version of Home Assistant Core has the issue?
core-2024.11.0
What was the last working version of Home Assistant Core?
core-2024.10.0
What type of installation are you running?
Home Assistant OS
Integration causing the issue
No response
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
The text was updated successfully, but these errors were encountered: