video-chat
video-chat copied to clipboard
unable to connect
Its working properly however I came across an issue. I closed all the tabs and when I started the localhost again and entered the same user it says username already exists. I can enter the new username and join the chat, where I can see the username already there in the chat room , using which I cannot enter the room.
When you close a tab the Websocket should get disconnected, therefore the user should be deleted from Redis.
Debug the logic within the disconnected
websocket event to check whether there is something wrong when deleting the user.