NEXT_PUBLIC_SOCKET_IO_URL=http://localhost:3001
NEXT_PUBLIC_SOCKET_IO_PASSPHRASE=swordfish
When no users are present in a room, the room will "Stay-alive" for the specified TTL. The first user to join back into the room will be made "host".
- Include manual typing of
roomId
- Add "drop-out" support.
- When a user leaves the room their
User
object will not be delete from memory. If a user tried to re-join the room with the samefootprint
(different fromuserId
, since that could be re-generated by socket.io) they will re-join as the corrospondingUser
. - The footprint can be stored inside a user's
localStorage
object with as the following object:{ key: <roomId>, value: <footprint> }
- When a user leaves the room their