- inform clients that the stream has stopped
git-svn-id: http://svn.bigbluebutton.org/project-bbb/trunk@57 6ac8b576-4aa1-4e98-a958-8badfeb98c9d
This commit is contained in:
parent
b15fd98fc0
commit
76b1f95406
@ -57,10 +57,14 @@ public class FrameStreamerGateway {
|
||||
}
|
||||
|
||||
public void onCaptureEndEvent(String room) {
|
||||
IDeskShareStream ds = streamsMap.remove(room);
|
||||
if (ds != null) {
|
||||
ds.stop();
|
||||
ds = null;
|
||||
IDeskShareStream stream = streamsMap.remove(room);
|
||||
if (stream != null) {
|
||||
//notify the clients in the room that the stream has now started broadcasting.
|
||||
ISharedObject deskSO = deskShareApp.getSharedObject(stream.getScope(), "deskSO");
|
||||
System.out.println("Sending applet started");
|
||||
deskSO.sendMessage("deskshareStreamStopped" , new ArrayList<Object>());
|
||||
stream.stop();
|
||||
stream = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user