Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When a second client used to connect to a room, it was receiving the last state of the room, instead of the last snapshot state other users already have. After receiving the first patch broadcast, the new client used to have a 'bad checksum' error in the client-side, because the patch used the previous sent state snapshot. TLDR: The clients must share a common snapshot to be able to apply the patch.
- Loading branch information
Showing
5 changed files
with
41 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters