From 9c8c59733a54f4cf8bbf37c6b1a385e72a020204 Mon Sep 17 00:00:00 2001 From: Chad Pilkey Date: Wed, 23 Aug 2017 18:48:07 -0400 Subject: [PATCH] fix exception thrown when webrtc echo test fails on initialize --- .../src/org/bigbluebutton/main/views/WebRTCEchoTest.mxml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) mode change 100644 => 100755 bigbluebutton-client/src/org/bigbluebutton/main/views/WebRTCEchoTest.mxml diff --git a/bigbluebutton-client/src/org/bigbluebutton/main/views/WebRTCEchoTest.mxml b/bigbluebutton-client/src/org/bigbluebutton/main/views/WebRTCEchoTest.mxml old mode 100644 new mode 100755 index 77ee7689eb..5953f20e67 --- a/bigbluebutton-client/src/org/bigbluebutton/main/views/WebRTCEchoTest.mxml +++ b/bigbluebutton-client/src/org/bigbluebutton/main/views/WebRTCEchoTest.mxml @@ -62,9 +62,9 @@ with BigBlueButton; if not, see . private static const TIMEOUT:Number = 60; 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; [Bindable] @@ -84,10 +84,8 @@ with BigBlueButton; if not, see . private function onCreationComplete():void { setCurrentState("connecting"); lblConnectMessage.text = lblConnectMessageMock.text = ResourceUtil.getInstance().getString('bbb.micSettings.webrtc.connecting'); - dotTimer = new Timer(200, 0); dotTimer.addEventListener(TimerEvent.TIMER, dotAnimate); - cancelTimer = new Timer(1000, 0); cancelTimer.addEventListener(TimerEvent.TIMER, timeout); startTimers();