Skip to content

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

@nrolls

Description

@nrolls

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions