opentelecoms-org / jscommunicator

http://jscommunicator.org
88 stars 48 forks source link

specify a timeout for connectivity checks #73

Open dpocock opened 9 years ago

dpocock commented 9 years ago

Currently, the connectivity checks keep running if UDP is blocked. Amongst other things, this means the callee continues to hear ringing for a long time after clicking to answer.

Usually, if UDP is not blocked, the checks will complete in less than 2 seconds. Probably need a default timeout value between 2 - 5 seconds.