DoubangoTelecom / sipml5

The world's first HTML5 SIP client (WebRTC)
BSD 3-Clause "New" or "Revised" License
944 stars 460 forks source link

ICE gathering is fast only with google stun #273

Closed varghesepaul closed 6 years ago

varghesepaul commented 7 years ago

Hi Team,

We are seeing the ICE gathering is fast only with Google STUN server ( 200 to 500ms ). When we checked with any other STUN service it is taking 10 seconds.

Other Stuns Tried: stun.counterpath.net:3478, numb.viagenie.ca:3478

Google Stun: stun.I.google.com:19302

Any clue on why ICE gathering is fast only with google stun .

Regards

Varghese Paul

varghesepaul commented 6 years ago

Closing the issue. The issue relies since i had a VPN interface which is not getting a stun response back and chrome taking 40 seconds for the timeout.

I added timeout in application layer when we get one STUN response and skipping the VPN interface response.