Skip to content
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

Live Camera Streams Often Fall Behind #20488

Open
4 tasks done
AngellusMortis opened this issue Apr 10, 2024 · 4 comments
Open
4 tasks done

Live Camera Streams Often Fall Behind #20488

AngellusMortis opened this issue Apr 10, 2024 · 4 comments
Labels

Comments

@AngellusMortis
Copy link

AngellusMortis commented Apr 10, 2024

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

The video player for live camera streams often falls behind if there is an interruption to video playback. Interruption to video playback can include (but not limited to):

  • network issues
  • switching to another tab and HA losing priority (Web browsers)
  • switching to another app and HA losing priority (mobile apps)

Describe the behavior you expected

Video players should detect and automatically correct when they are lagging behind more than expected.

Steps to reproduce the issue

  1. Add picture entity card to any dashboard pointing to a camera with a live video stream, ideally one with a timestamp for comparison
  2. Load the dashboard and watch the video stream for a few seconds. Note how many seconds the stream is behind
  3. (on Web) Switch to another tab and then go to another application. (on mobile) Switch to another app.
  4. Wait about 30 seconds
  5. Go back to HA dashboard, camera should resume where it was when it was suspended/de-prioritized because it was put in the background.

What version of Home Assistant Core has the issue?

core-2024.4.2

What was the last working version of Home Assistant Core?

Never

In which browser are you experiencing the issue with?

Edge/Chrome/Firefox/everything

Which operating system are you using to run this browser?

Windows 10/Windows 11/Android 12-14

State of relevant entities

No response

Problem-relevant frontend configuration

No response

Javascript errors shown in your browser console/inspector

No response

Additional information

This has been a long-standing Home Assistant frontend issue. The video player is not able to self-heal and realize when it has fallen behind in playback. This is often reported as video delay, but this is not related to the HLS video delay issue that causes a 15-30 second video delay. You can easily reproducible it with a LL-HLS setup that starts with an initial 1-2 second video delay that can easily become 30 seconds or even a few minutes.

The only way to "solve" the delay is to reload the page. Which for mobile apps is not really possible. The video player itself should be able to auto-correct these delays.

Copy link

github-actions bot commented Jul 9, 2024

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Jul 9, 2024
@Daniel-dev22
Copy link

Still a thing.

@github-actions github-actions bot removed the stale label Jul 9, 2024
@pedro639
Copy link

pedro639 commented Aug 2, 2024

Yup, still a thing

Copy link

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants