Refactored video refresh
This commit is contained in:
parent
24eec8a713
commit
fb0bd078c5
@ -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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
|
||||
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user