-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
[BUG] Camera stream issue when header is disabled #244
Comments
@erich74, |
Thanks @erich74, |
yes I am using Go2RTC integration with the WebRTC custom card to stream my camera video. |
Hi @erich74, |
I do not have any warning/error but I suspect my tablet is also not very capable of supporting the live stream (this is a rather old android 10 teclast tablet). I have noticed that even with headers if I scroll up or down on my dashboard the stream starts hanging. |
Hi @erich74, If it is a tablet, then you have not checked the right console 🙂 I was referring to the browser's dev console, but that is difficult to get in a tablet with the native Android app. What you described about the hanging ocurring also when you scroll confirmed me that it is related to the custom integration. There is a specific block of code that disconnects the stream and tries to connect it again when there are changes in the visibility of the video stream, and that occurs when you scroll or when the layout changes because some elements are added/removed (I think that this issue is related to the same). Try this to see if it improves: In the configuration of the custom card, set the Regards |
oops sorry when you said console I thought you were referring to Home Assistant logs. Now I understand you're talking about the browser console. And yes this might be complex to get it from the Android tablet :) |
I have done some more testing. |
Hi @erich74, |
Describe the bug
I have a couple of dashboards with a camera live stream entity (Go2RTS) / RSTP .
I have noticed that whenever the header (top) is disabled, the stream is not working. As soon as I re enable the header, camera live stream is working fine again.
This is very strange because I have also tested with the WallPanel HACS (https://github.com/j-a-n/lovelace-wallpanel) and this is the exact same issue. Side panel for instance does not affect the live stream, only the top banner.
To Reproduce
Steps to reproduce the behavior:
Versions:
The text was updated successfully, but these errors were encountered: