- no need to notify others to play the stream since a user just needs to play the stream
This commit is contained in:
parent
051c55c37d
commit
9da16e3613
@ -65,7 +65,7 @@ package org.bigbluebutton.modules.broadcast.managers
|
||||
trace("***BroadcastManager Not Opening BroadcastModule Window");
|
||||
}
|
||||
|
||||
sendWhatIsTheCurrentStreamRequest();
|
||||
// sendWhatIsTheCurrentStreamRequest();
|
||||
|
||||
if (UserManager.getInstance().getConference().amIPresenter()) {
|
||||
handleSwitchToPresenterMode();
|
||||
|
@ -1,7 +1,10 @@
|
||||
package org.bigbluebutton.modules.broadcast.services
|
||||
{
|
||||
import com.asfusion.mate.events.Dispatcher;
|
||||
|
||||
import org.bigbluebutton.core.BBB;
|
||||
import org.bigbluebutton.core.managers.UserManager;
|
||||
import org.bigbluebutton.main.events.BBBEvent;
|
||||
|
||||
public class BroadcastService {
|
||||
private var sender:MessageSender;
|
||||
@ -17,12 +20,28 @@ package org.bigbluebutton.modules.broadcast.services
|
||||
if (sender == null) {
|
||||
trace("SENDER is NULL!!!!");
|
||||
}
|
||||
sender.playStream(uri, streamID, streamName);
|
||||
// sender.playStream(uri, streamID, streamName);
|
||||
|
||||
var event:BBBEvent = new BBBEvent("BroadcastPlayStreamCommand");
|
||||
event.payload["messageID"] = "BroadcastPlayStreamCommand";
|
||||
event.payload["uri"] = uri;
|
||||
event.payload["streamID"] = streamID;
|
||||
event.payload["streamName"] = streamName;
|
||||
|
||||
var dispatcher:Dispatcher = new Dispatcher();
|
||||
dispatcher.dispatchEvent(event);
|
||||
|
||||
}
|
||||
|
||||
public function stopStream():void {
|
||||
trace("BroadcastService::stopStream");
|
||||
sender.stopStream();
|
||||
// sender.stopStream();
|
||||
|
||||
var event:BBBEvent = new BBBEvent("BroadcastStopStreamCommand");
|
||||
event.payload["messageID"] = "BroadcastStopStreamCommand";
|
||||
|
||||
var dispatcher:Dispatcher = new Dispatcher();
|
||||
dispatcher.dispatchEvent(event);
|
||||
}
|
||||
|
||||
public function sendWhatIsTheCurrentStreamRequest():void {
|
||||
|
Loading…
Reference in New Issue
Block a user