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

NextJS - cam and mic still active when leaving the page #433

Open
nrolls opened this issue Oct 7, 2024 · 1 comment
Open

NextJS - cam and mic still active when leaving the page #433

nrolls opened this issue Oct 7, 2024 · 1 comment

Comments

@nrolls
Copy link
Contributor

nrolls commented Oct 7, 2024

Related thread:
https://discord.com/channels/963444905282269234/1291006884832084032/1291006884832084032

I have an issue with properly leaving the meeting in our NextJS app. We are using client side routing, which means we don't necessarily do a "hard refresh" when the user clicks on a link.

This seems to persist the camera and mic usage after I navigate away from the page with the video meeting. I an running actions.leaveRoom() on component destruct, and even if I run leaveRoom() manually before leaving the page, the camera and mic is still in use (indicated by the red dot in my browser tab).

@nrolls
Copy link
Contributor Author

nrolls commented Oct 7, 2024

Behavior seemingly confirmed by @kevinwhereby
https://github.com/kevinwhereby/next-sdk-test

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

1 participant