use of org.red5.server.api.scope.IScope in project bigbluebutton by bigbluebutton.
the class ParticipantsService method assignPresenter.
public void assignPresenter(Map<String, String> msg) {
IScope scope = Red5.getConnectionLocal().getScope();
String meetingId = scope.getName();
String newPresenterID = (String) msg.get("newPresenterID");
String newPresenterName = (String) msg.get("newPresenterName");
String assignedBy = (String) msg.get("assignedBy");
red5InGW.assignPresenter(meetingId, newPresenterID, newPresenterName, assignedBy);
}
use of org.red5.server.api.scope.IScope in project bigbluebutton by bigbluebutton.
the class ParticipantsService method unshareWebcam.
public void unshareWebcam(String stream) {
IScope scope = Red5.getConnectionLocal().getScope();
String meetingId = scope.getName();
String userId = getBbbSession().getInternalUserID();
Map<String, Object> logData = new HashMap<String, Object>();
logData.put("meetingId", scope.getName());
logData.put("userId", userId);
logData.put("stream", stream);
Gson gson = new Gson();
String logStr = gson.toJson(logData);
log.warn("User unshared webcam. data={}", logStr);
red5InGW.unshareWebcam(meetingId, userId, stream);
}
use of org.red5.server.api.scope.IScope in project bigbluebutton by bigbluebutton.
the class ParticipantsService method getRecordingStatus.
public void getRecordingStatus() {
IScope scope = Red5.getConnectionLocal().getScope();
String meetingId = scope.getName();
red5InGW.getRecordingStatus(meetingId, getMyUserId());
}
use of org.red5.server.api.scope.IScope in project bigbluebutton by bigbluebutton.
the class PresentationService method getPresentationInfo.
public void getPresentationInfo() {
IScope scope = Red5.getConnectionLocal().getScope();
log.debug("Getting presentation info for meeting [{}]", scope.getName());
presentationApplication.getPresentationInfo(scope.getName(), getBbbSession().getInternalUserID());
}
use of org.red5.server.api.scope.IScope in project bigbluebutton by bigbluebutton.
the class PresentationService method gotoSlide.
public void gotoSlide(Map<String, Object> msg) {
String pageId = (String) msg.get("page");
IScope scope = Red5.getConnectionLocal().getScope();
log.debug("Got GotoSlide for meeting [{}] page=[{}]", scope.getName(), pageId);
presentationApplication.gotoSlide(scope.getName(), pageId);
}
Aggregations