Merge pull request #6154 from capilkey/increase-ice-negotiation-timeout
Increase the ICE negotiation timeout from 5 to 10s
This commit is contained in:
commit
a21325e3ef
@ -127,7 +127,7 @@ function stopWebRTCAudioTestJoinConference(){
|
||||
webRTCCallback({'status': 'transferring'});
|
||||
|
||||
transferTimeout = setTimeout( function() {
|
||||
console.log("Call transfer failed. No response after 3 seconds");
|
||||
console.log("Call transfer failed. No response after 5 seconds");
|
||||
webRTCCallback({'status': 'failed', 'errorcode': 1008});
|
||||
releaseUserMedia();
|
||||
currentSession = null;
|
||||
@ -501,7 +501,7 @@ function make_call(username, voiceBridge, server, callback, recall, isListenOnly
|
||||
callback({'status':'waitingforice'});
|
||||
console.log('Waiting for ICE negotiation');
|
||||
iceConnectedTimeout = setTimeout(function() {
|
||||
console.log('5 seconds without ICE finishing');
|
||||
console.log('10 seconds without ICE finishing');
|
||||
callback({'status':'failed', 'errorcode': 1010}); // ICE negotiation timeout
|
||||
releaseUserMedia();
|
||||
currentSession = null;
|
||||
@ -510,7 +510,7 @@ function make_call(username, voiceBridge, server, callback, recall, isListenOnly
|
||||
userAgent = null;
|
||||
userAgentTemp.stop();
|
||||
}
|
||||
}, 5000);
|
||||
}, 10000);
|
||||
}
|
||||
clearTimeout(callTimeout);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user