-
-
Notifications
You must be signed in to change notification settings - Fork 974
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Timeout trigger _iceComplete if candidates seen.
On some networks the iceStateChange=complete will not fire until the browser times out adding tens of seconds of latency even though all valid candidates have been recieved. This patch makes _iceComplete fire early and current offer return after some timeout if we've received valid candidates. See webtorrent/bittorrent-tracker#199 for further discussion.
- Loading branch information
Showing
1 changed file
with
22 additions
and
1 deletion.
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