Refactored video refresh

This commit is contained in:
Pedro Beschorner Marin 2015-06-23 16:47:54 +00:00
parent 24eec8a713
commit fb0bd078c5
2 changed files with 2 additions and 9 deletions

View File

@ -126,8 +126,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
<MethodInvoker generator="{VideoEventMapDelegate}" method="handleCamSettingsClosedEvent" arguments="{event}"/>
</EventHandlers>
<EventHandlers type="{BBBEvent.RECONNECT_DISCONNECTED_EVENT}">
<MethodInvoker generator="{VideoEventMapDelegate}" method="onDisconnected" arguments="{event}"/>
<EventHandlers type="{BBBEvent.RECONNECT_BIGBLUEBUTTON_SUCCEEDED_EVENT}">
<MethodInvoker generator="{VideoEventMapDelegate}" method="closeAllWindows"/>
</EventHandlers>
<!-- ~~~~~~~~~~~~~~~~~~ INJECTORS ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

View File

@ -415,13 +415,6 @@ package org.bigbluebutton.modules.videoconf.maps
proxy.disconnect();
}
public function onDisconnected(e:BBBEvent):void {
if (e.payload.type == "VIDEO_CONNECTION") {
trace("VideoEventMapDelegate:: onDisconnected");
closeAllWindows();
}
}
public function closeAllWindows():void{
trace("VideoEventMapDelegate:: closing all windows");
if (_isPublishing) {