Open Rob--W opened 9 years ago
@ibc Could you review and merge this PR?
Sorry for the late response.
Honestly, I think we should avoid custom API. Both gatheringTimeout
and gatheringTimeoutAfterRealy
provide a temporal workaround for non trickle-ICE users, but I don't feel comfortable having them.
@ibc Done, thanks for the review!
Add "gatheringTimeoutAfterHost" option. The existing gatheringTimeout option serves a similar purpose, with a subtle distinction:
The timer logic was spread all over the place, I also deduplicated the logic and put the relevant logic in two helper functions.