peerjs-groups icon indicating copy to clipboard operation
peerjs-groups copied to clipboard

if admin is disconnected then the room is useless

Open tarekmostafa-saitama opened this issue 4 years ago • 1 comments

how to handle the way if an admin decided to disconnect! is there a way to make the users keep chatting without the need for an administrator if not then the admin must be connected all the time?

tarekmostafa-saitama avatar Dec 12 '20 14:12 tarekmostafa-saitama

I've not used the library for a while but if I recall correctly then if the "admin" (first user) disconnects then the remaining existing users should be able to continue to communicate but new users won't be able to connect anymore. I never got around to adding the extra complexity to the protocol that's needed to solve that problem. I didn't expect this repository would ever get any attention but thank you for your interest and maybe I'll make an effort to address this issue sometime soon.

ElizabethHudnott avatar Dec 12 '20 15:12 ElizabethHudnott