-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
🎨 FrontendIssues related to HTML, CSS, JavaScript.Issues related to HTML, CSS, JavaScript.😱 BugSomething isn't workingSomething isn't working
Description
Describe the bug
A clear and concise description of what the bug is.
When modifying the frontend, Vite will reload the page dynamically so that changes are reflected in real time, but instead of re-initializing the streams, it simply adds them to the list.
To Reproduce
Steps to reproduce the behavior:
- Go to the streaming page of the application
- Connect a headset through adb
- make a bogus change in the VideoStreamManager to trigger a hot module replacement
- An additional black stream is added to the page besides the existing stream.
Expected behavior
The list should remain the same.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows
- Browser: Firefox
- Version: Latest
Additional context
This bug may also happen at random during first rendering of the application, so while hot module replacing will only happen in dev context, fixing it may prevent other more annoying bugs from happening in the future.
Metadata
Metadata
Assignees
Labels
🎨 FrontendIssues related to HTML, CSS, JavaScript.Issues related to HTML, CSS, JavaScript.😱 BugSomething isn't workingSomething isn't working