From 8df89ceb7823521c4c6d9bf7a49c23f1579c86f4 Mon Sep 17 00:00:00 2001 From: Chad Pilkey Date: Fri, 12 Oct 2018 13:26:51 -0700 Subject: [PATCH] increase the ICE negotiation timeout from 5 to 10s --- .../resources/prod/lib/bbb_webrtc_bridge_sip.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bigbluebutton-client/resources/prod/lib/bbb_webrtc_bridge_sip.js b/bigbluebutton-client/resources/prod/lib/bbb_webrtc_bridge_sip.js index a29923966f..b4b53d022b 100755 --- a/bigbluebutton-client/resources/prod/lib/bbb_webrtc_bridge_sip.js +++ b/bigbluebutton-client/resources/prod/lib/bbb_webrtc_bridge_sip.js @@ -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); });