-
Notifications
You must be signed in to change notification settings - Fork 121
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
HA media playback does not work with 2024.11
#757
Comments
It seems it also doesn't work when trying to open it from the left panel ( |
@anybody84, @andreasbuff, you can work around this issue by selecting go2rtc as the live provider in the Frigate card. The card is probably using HA's live provider, which is not working due to: |
@anybody84, @andreasbuff, can you test if this fixes your issue? |
Hello, thank you for your answer. No, unfortunatly it is not resolving this problem. The funny thing is, that, if you are hovering over the clip and if you are clicking on the Downloading-Link, then, the download of the correct clip is done. Hence, the pointer to the clip must be correct. It looks like it is rather a Codec-Problem than related to Frigate? |
Correct, I don't use the Frigate-Card. What I'm referring to is a playback from the Media side panel. Upgraded HA to version |
I can confirm, the computed url seems wrong (regardless if webrtc is enabled or not on the frigate integration configuration )
|
I have exactly the same issue for information. Download work but media and card doesn't. |
me 2 :( |
Hello, |
The patch release 2024.11.1 mentions about go2rtc, ffmg etc see https://github.com/home-assistant/core/releases/tag/2024.11.1 but, still can't play the videos from media folder. |
2024.11
Suggest we keep the Frigate card out of this issue, as it confuses things. This problem is simpler: Frigate + HA Media browser should work, but doesn't. This is either a HA bug, or a Frigate integration bug. The Media URL being composed appears incorrect:
Note the "/undefined" in the path. |
I am getting the same issue not able to play recordings as play button is greyed out , any solutions ? Update , i have rolled back HA version 2024.10 aand now its working fine |
i tried reverting to 2024.10 but still not working. update: nvm i spoke too soon. i restarted HA once again and it starts to work. update 2: the url does not seem to be the problem as the working version (2024.10) also has |
Thanks @ivanjx , I suspected this might be a red-herring. In any case, for now, sounds like sticking with HA I still strongly suspect this is a Home Assistant bug. I think the issue is the |
I think that is the issue. For viewing live cameras (which is what the PR author probably tested),
<ha-hls-player
controls
autoplay
playsinline
.hass=${this.hass}
.url=${this._params.sourceUrl}
></ha-hls-player> ... yet in the protected updated(changedProps: PropertyValues) {
super.updated(changedProps);
const entityChanged = changedProps.has("entityid");
if (!entityChanged) { <--- Won't ever get past this point without the entityid attribute.
return;
}
this._getStreamUrl(); <-- Stream is started here.
} Adding original PR author to consider: @bramkragten . It seems like home-assistant/frontend#22585 may not have considered usecases related to media playing that have no entity at all (e.g. HA media player, and derivative usecases of that like frigate-hass-card). For example, it makes the |
Same issue here I've tried everything |
Same issue |
(No need to chime in additional support, this likely effects all users of HA >= |
Same issue here |
+1 here - life is working fine but media dont: Problem is when I try to go to media -> frigate -> recordings. It looks like this: The undefined part in request is suprising for me. |
Please stop updating the bug if you have nothing new to add. Nothing will happen here until the bug is fixed in the Home Assistant frontend, in the next release. For now, if this is important to you, please stick with a prior version of Home Assistant. |
I have the same issue: in 2024.10.3 - worked fine |
Had the same issue with latest HA OS, I've downgraded the core to 2024.10.4 and it works now.
|
The same problem for me. |
Same issue where rtsp stream is working, snapshots can be viewed and only video media will not start. Downgrade core as mentioned works for me. |
2024.11.3 also does not fix this issue |
We've got news though: home-assistant/core#129990 (comment) |
That's for the streaming issue though not the media player playback issue |
Oh, I'm sorry, you're right. |
It looks like a fix was merged into frontend. So an updated frontend that includes it just needs to make its way into 2023.11.x. |
Sorry to necro a closed ticket. I've been sitting through all the linked issues on HA and frigate. I am trying to figure out what updates I am waiting for across frigate and ha. I am currently on frigate 0.14 and HA 10.4. Am I just waiting for an HA update? And HA and Frigate Addon update? Frigate, Frigste add on, and HA? |
You just need to wait for the next HA release. 2024.11.3 still doesn't contain the fix. The Frigate version or the integration version doesn't matter for this bug. |
Thanks, that's what I was gathering but wanted to make sure because I saw somewhere that someone mentioned Frigate was misusing the camera entity in HA. |
#759 this is the one I was mentioning. Curious if this could be related to my streams constantly dropping |
That issue is already fixed by the integration 5.5.0. |
Ok thanks. I'm still on 5.4.0 it seems. I'll update and see if that fixes my issue. Edit: ah nvm it requires HA 11.x. I'll wait for the update from HA and then grab the update here and hope all my problems are solved lol |
That's your problem. The fix is in 2024.12.0b0. |
Frigate HA integration 5.5.1 Thanks you for the good job 👍 |
Still not working Frigate HA integration 5.5.1 Home Assistant Core |
I can confirm that: Frigate integration 5.5.1 WORKS |
I can confirm that: Frigate integration 5.5.1 NOT WORKS |
The Frigate integration version doesn't matter for this but, by the way. |
Home Assistant 2024.12.0 does not fix for me (is using frontend version 20241106.2)...Still getting same error in Frigate camera view: Failed to start WebRTC stream: webrtc: streams: dial tcp 192.168.0.90:554: connect: connection refused, exec/rtsp [rtsp @ 0x7fc984590000] method DESCRIBE failed: 404 Not Found [in#0 @ 0x7fc984812c00] Error opening input: Server returned 404 Not Found Error opening input file rtsp://127.0.0.1:18554/camera.reolink?audio&source=ffmpeg:camera.reolink%23audio%3Dopus%23query%3Dlog_level%3Ddebug&log_level=debug. Error opening input files: Server returned 404 Not Found (camera.reolink) and also cannot play back clips, etc |
This seems like a different issue. |
The video appears briefly before this message, only started after updated to 2024.11.xx |
I can confirm that: Frigate integration 5.5.1 WORKS !!! 👍 |
Thanks, I am not running the very latest version of Frigate, nor the latest Frigate integration so will do when I have a bit more time... |
If you see 20241106.2 as front end version in HA, you installed the new core with the new front end (that should be 20241127.4 not 20241106.2), but the new front end is not loaded in your browser yet. Clear your browser cache. |
Thanks, its loaded now, the clips replay works but still the same error in camera view... |
Hello
I am using Frigate-Card with HA 2024.11.0b1 Release.
The friagate-card was working fine, until I upgraded to newest Beta. Now , the available clips are showed correctly,
but after clicking on a click, the playback fails. Playback of clip is "starting", but nothing is displayed...
type: custom:frigate-card
cameras:
The text was updated successfully, but these errors were encountered: