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

Popup with picture-entity RTSP camera stream doesn't unload when closing popup #353

Closed
4 tasks done
abigdeel opened this issue Aug 29, 2022 · 2 comments
Closed
4 tasks done

Comments

@abigdeel
Copy link

My Home Assistant version: 2022.8.7

What I am doing:
Using browser_mod to replace more_info for camera entities
Use a popup with a picture entity or picture glance card, with a live RTSP link and using webRTC to stream camera
When I close the popup, there is still network traffic.
Re-opening the popup, the stream doesn't start until I kill the webRTC addon or restart HA.

What I expected to happen:
Using custom:frigate-card, there is the option to load/unload cameras lazily.

What happened instead:
Don't seem to have that default behaviour here. Can't stop the stream when pop-up closes.

Minimal steps to reproduce:
Use browser_mod more_info popup with picture entity/picture glance card and using RTSPtoWeb

# The least amount of code or steps possible to reproduce my error

# Put your code/steps here

Error messages from the browser console:
No errors, RTSP stream doesn't end.

// Select everything from the browser console and copy it

// Paste it here

By replacing the space in the checkboxes ([ ]) with an X below, I indicate that I:

@abigdeel
Copy link
Author

I don't really know if this is a browser_mod issue or if it's just the nature of things.
Not sure where this functionality would need to be added either.

What does work is if I refresh the tab or use browser_mod reload window for Android/tablet sessions. That kills the connection to the stream.

Otherwise, re-opening the card just tries to re-open the stream or sometimes even kicks off another stream. I should mention I'm using go2rtc addon as well to facilitate the RTSP connection via RTSPtoWebRTC addon

@thomasloven
Copy link
Owner

Closed because of Browser Mod 2.0 release.
Please see #354.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants