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
@ -115,7 +115,8 @@ package org.bigbluebutton.modules.users.services
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function removeStream(userID:String, streamName:String):void {
|
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();
|
var _nc:ConnectionManager = BBB.initConnectionManager();
|
||||||
_nc.sendMessage("participants.unshareWebcam",
|
_nc.sendMessage("participants.unshareWebcam",
|
||||||
function(result:String):void { // On successful result
|
function(result:String):void { // On successful result
|
||||||
|
@ -460,6 +460,9 @@ package org.bigbluebutton.modules.videoconf.maps
|
|||||||
trace("VideoEventMapDelegate:: [" + me + "] Connected to video application.");
|
trace("VideoEventMapDelegate:: [" + me + "] Connected to video application.");
|
||||||
_ready = true;
|
_ready = true;
|
||||||
if (event.reconnection) {
|
if (event.reconnection) {
|
||||||
|
trace("VideoEventMapDelegate:: Got reconnected event.");
|
||||||
|
stopAllBroadcasting();
|
||||||
|
trace("VideoEventMapDelegate:: Closing all webcam windows.");
|
||||||
closeAllWindows()
|
closeAllWindows()
|
||||||
} else {
|
} else {
|
||||||
addToolbarButton();
|
addToolbarButton();
|
||||||
|
Loading…
Reference in New Issue
Block a user