You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The script is very simple. Initiator refreshes the page. The server closes the room. The admin panel shows that the room is missing.
BUT! If the initiator tries to return and reopen the room, then RTCMultiConnection reports to the console that a user with that name already exists and gives him a new UserID. At the same time, the admin panel shows that there are no rooms at all.
In my case, only restarting the server node server.js or changing the name of the room helps.
What could it be?
Is this a bug or incorrect server installation?
The text was updated successfully, but these errors were encountered:
In the browser console at the Initiator, the RTCMultiConnection reports that a user with the same name exists and a new UserID is assigned to the Initiator.
As a result, connection.userid != roomid and the Initiator cannot open the room.
There are strange moments in the work of the code.
In my case, the initiator has the parameters:
The script is very simple. Initiator refreshes the page. The server closes the room. The admin panel shows that the room is missing.
BUT! If the initiator tries to return and reopen the room, then RTCMultiConnection reports to the console that a user with that name already exists and gives him a new
UserID
. At the same time, the admin panel shows that there are no rooms at all.In my case, only restarting the server
node server.js
or changing the name of the room helps.What could it be?
Is this a bug or incorrect server installation?
The text was updated successfully, but these errors were encountered: