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

Fix mjpg stream accumulation #1293

Merged
merged 2 commits into from
Mar 21, 2024

Conversation

DevonRD
Copy link
Contributor

@DevonRD DevonRD commented Mar 20, 2024

Fixes bug where switching tabs/etc causes buildup of connected mjpg streams in network, eventually slowing down streams and causing stream failure until refresh. Accomplishes this by directly setting the source of stream elements to null before unmount, allowing chrome/edge to close the connection.

Fixes #1106

@DevonRD DevonRD requested a review from a team as a code owner March 20, 2024 21:21
@mcm001 mcm001 merged commit 97d2050 into PhotonVision:master Mar 21, 2024
27 checks passed
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

Successfully merging this pull request may close these issues.

Camera stream quality degrades in UI after several reloads
2 participants