-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
To provide a better collaboration experience, clients should be able to reconnect after temporarily losing connection.
Hosts should also be able to shut a session down.
Disconnections
- Non-host intentional disconnection.
- Add a message to request a successful disconnection. #27
- Notify everyone that the peer left.
- Host peer intentional disconnection.
- Send a disconnection message. Notify peers that the session terminated.
Reconnections
- Non-host loses connection.
- User tries reconnecting, if success, it catches up.
- Host loses connection.
- Tries reconnecting, if unsuccessful, session ends, and peers are notified.
Reconnection questions:
- What's the best approach to ensure that most of the work done while disconnected won't be lost?
- Should the server store edits in a buffer?
- Should the client store edits in a buffer?
- What's a good reconnection timeout?
Metadata
Metadata
Assignees
Labels
No labels