I’m having trouble figuring out how to change rooms in Jitsi. I’m currently using the React boilerplate found here: GitHub - maxired/jitsi-standup: A simple web interface for Daily standup meeting with Jitsi.
Here is my code: Changing rooms · GitHub
As you can see, I’m initializing the connection and conference. However, when I change the room and try to initialize another Conference object, I get “Unhandled Rejection (Error): You are already in the room!”.
How do I fix this? I thought that all you needed to do was call leave() and create a new Conference object. Please excuse my inexperience, as I am currently familiarizing myself with React.