Temasys / SkylinkJS

SkylinkJS Javascript WebRTC SDK
http://skylink.io/web
Other
275 stars 57 forks source link

AJS-307: IE Edge not connecting peers because of EndOfCandidate message timing issue #334

Closed ishannaithani closed 6 years ago

ishannaithani commented 6 years ago

Purpose of this PR

Looks like the EndOfCandidates message is sent before gathering all candidates and this causes issue with connectivity in Edge. Hence, adding a patch code for setTimeout of 6000ms to enforce that EndOfCandidate message is sent as the last message to Edge.