Merge pull request #676 from ritzalam/reconnect-to-bbb-video
- force stop broadcasting of webcam when disconnected to bbb-video
This commit is contained in:
commit
87790f1735
@ -116,6 +116,7 @@ package org.bigbluebutton.modules.users.services
|
||||
}
|
||||
|
||||
public function removeStream(userID:String, streamName:String):void {
|
||||
trace(LOG + "sending unshare webcam to server for user=[" + userID + "] stream=[" + streamName + "]");
|
||||
var _nc:ConnectionManager = BBB.initConnectionManager();
|
||||
_nc.sendMessage("participants.unshareWebcam",
|
||||
function(result:String):void { // On successful result
|
||||
|
@ -460,6 +460,9 @@ package org.bigbluebutton.modules.videoconf.maps
|
||||
trace("VideoEventMapDelegate:: [" + me + "] Connected to video application.");
|
||||
_ready = true;
|
||||
if (event.reconnection) {
|
||||
trace("VideoEventMapDelegate:: Got reconnected event.");
|
||||
stopAllBroadcasting();
|
||||
trace("VideoEventMapDelegate:: Closing all webcam windows.");
|
||||
closeAllWindows()
|
||||
} else {
|
||||
addToolbarButton();
|
||||
|
Loading…
Reference in New Issue
Block a user