Closing Flash phone connection if user leaves Flash audio.
This commit is contained in:
parent
51a7d21ddd
commit
b7580fe814
@ -419,5 +419,12 @@
|
||||
usingFlash = true;
|
||||
startCall(true);
|
||||
}
|
||||
|
||||
public function handleFlashLeftVoiceConference():void {
|
||||
if (isConnected()) {
|
||||
streamManager.stopStreams();
|
||||
connectionManager.disconnect(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -33,6 +33,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
import org.bigbluebutton.modules.phone.events.FlashCallDisconnectedEvent;
|
||||
import org.bigbluebutton.modules.phone.events.FlashEchoTestHasAudioEvent;
|
||||
import org.bigbluebutton.modules.phone.events.FlashEchoTestNoAudioEvent;
|
||||
import org.bigbluebutton.modules.phone.events.FlashLeftVoiceConferenceEvent;
|
||||
import org.bigbluebutton.modules.phone.events.FlashStartEchoTestCommand;
|
||||
import org.bigbluebutton.modules.phone.events.FlashStopEchoTestCommand;
|
||||
import org.bigbluebutton.modules.phone.events.FlashVoiceConnectionStatusEvent;
|
||||
@ -106,7 +107,11 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
<EventHandlers type="{LeaveVoiceConferenceCommand.LEAVE_VOICE_CONF}">
|
||||
<MethodInvoker generator="{FlashCallManager}" method="handleLeaveVoiceConferenceCommand" arguments="{event}"/>
|
||||
</EventHandlers>
|
||||
|
||||
|
||||
<EventHandlers type="{FlashLeftVoiceConferenceEvent.LEFT_VOICE_CONFERENCE}">
|
||||
<MethodInvoker generator="{FlashCallManager}" method="handleFlashLeftVoiceConference"/>
|
||||
</EventHandlers>
|
||||
|
||||
<EventHandlers type="{UseFlashModeCommand.USE_FLASH_MODE}">
|
||||
<MethodInvoker generator="{FlashCallManager}" method="handleUseFlashModeCommand"/>
|
||||
</EventHandlers>
|
||||
|
Loading…
Reference in New Issue
Block a user