fix exception thrown when webrtc echo test fails on initialize
This commit is contained in:
parent
9da077a194
commit
9c8c59733a
6
bigbluebutton-client/src/org/bigbluebutton/main/views/WebRTCEchoTest.mxml
Normal file → Executable file
6
bigbluebutton-client/src/org/bigbluebutton/main/views/WebRTCEchoTest.mxml
Normal file → Executable file
@ -62,9 +62,9 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
|||||||
private static const TIMEOUT:Number = 60;
|
private static const TIMEOUT:Number = 60;
|
||||||
private static const CANCEL_BUTTON:Number = 55;
|
private static const CANCEL_BUTTON:Number = 55;
|
||||||
|
|
||||||
private var dotTimer:Timer;
|
private var dotTimer:Timer = new Timer(200, 0);
|
||||||
|
|
||||||
private var cancelTimer:Timer;
|
private var cancelTimer:Timer = new Timer(1000, 0);
|
||||||
private var countdown:Number;
|
private var countdown:Number;
|
||||||
|
|
||||||
[Bindable]
|
[Bindable]
|
||||||
@ -84,10 +84,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
|||||||
private function onCreationComplete():void {
|
private function onCreationComplete():void {
|
||||||
setCurrentState("connecting");
|
setCurrentState("connecting");
|
||||||
lblConnectMessage.text = lblConnectMessageMock.text = ResourceUtil.getInstance().getString('bbb.micSettings.webrtc.connecting');
|
lblConnectMessage.text = lblConnectMessageMock.text = ResourceUtil.getInstance().getString('bbb.micSettings.webrtc.connecting');
|
||||||
dotTimer = new Timer(200, 0);
|
|
||||||
dotTimer.addEventListener(TimerEvent.TIMER, dotAnimate);
|
dotTimer.addEventListener(TimerEvent.TIMER, dotAnimate);
|
||||||
|
|
||||||
cancelTimer = new Timer(1000, 0);
|
|
||||||
cancelTimer.addEventListener(TimerEvent.TIMER, timeout);
|
cancelTimer.addEventListener(TimerEvent.TIMER, timeout);
|
||||||
|
|
||||||
startTimers();
|
startTimers();
|
||||||
|
Loading…
Reference in New Issue
Block a user