WebDevSimplified / Zoom-Clone-With-WebRTC

1.52k stars 863 forks source link

I have to refresh the host and user to connect both to the room #53

Open TasteDaBombDev opened 3 years ago

TasteDaBombDev commented 3 years ago

When the user clicks on an event fetched from the DB (using a Spring Boot backend), if it is the first one, it becomes host. If not, then it becomes a simple user. When a user enters the room, the host have to refresh the page(like to reconnect to the room) and so does the user, in order to be both connected. Why is so? You can find my code in the thread that I posted on the stack overflow and no-one answered until now. Can I have a bit of help here, please? (the backend runs on port 8080)

https://stackoverflow.com/questions/66483474/why-do-i-have-to-refresh-the-page-in-order-to-connect-to-the-peer-system

mahir-shaikh commented 3 years ago

I have the same issue.

I created the exact same thing in the MEAN stack, and the user requires a refresh to work properly. Once both of them are refreshed, the third user joins correctly sometimes and sometimes needs a refresh