-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
webrtc: fix connection in case of high latency
When latency is high, one side of the peer connection switched to the "connected" state before the other one, and then closed the WebSocket connection since it's useless after the peer connection has been established. This caused the other side of the connection to detect a WebSocket error and to exit. The WebSocket connection must remain open, otherwise the "connected" state is not set by both parts.
- Loading branch information
Showing
2 changed files
with
14 additions
and
5 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