cleanup
This commit is contained in:
parent
07635128eb
commit
6e59b20909
@ -124,9 +124,7 @@ public class BigBlueButtonApplication extends MultiThreadedApplicationAdapter {
|
||||
@Override
|
||||
public boolean roomConnect(IConnection connection, Object[] params) {
|
||||
log.debug("***** " + APP + " [ " + " roomConnect [ " + connection.getScope().getName() + "] *********");
|
||||
for(int i = 0; i < params.length; i++) {
|
||||
System.out.println("Parametro " + i + ": " + params[i]);
|
||||
}
|
||||
|
||||
String username = ((String) params[0]).toString();
|
||||
String role = ((String) params[1]).toString();
|
||||
String room = ((String)params[2]).toString();
|
||||
@ -137,8 +135,8 @@ public class BigBlueButtonApplication extends MultiThreadedApplicationAdapter {
|
||||
|
||||
String externalUserID = ((String) params[5]).toString();
|
||||
String internalUserID = ((String) params[6]).toString();
|
||||
boolean guest = true;//((Boolean) params[7]);
|
||||
|
||||
boolean guest = ((Boolean) params[7]);
|
||||
|
||||
if (record == true) {
|
||||
recorderApplication.createRecordSession(room);
|
||||
}
|
||||
|
@ -121,6 +121,7 @@ public class ParticipantUpdatingRoomListener implements IRoomListener{
|
||||
map.put("fullname", p.getName());
|
||||
map.put("role", p.getRole());
|
||||
map.put("guest", p.isGuest().toString());
|
||||
|
||||
Gson gson= new Gson();
|
||||
messagingService.send(MessagingConstants.PARTICIPANTS_CHANNEL, gson.toJson(map));
|
||||
log.debug("Publishing message participant joined in " + this.room.getName());
|
||||
|
@ -22,7 +22,7 @@ package org.bigbluebutton.conference;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import org.red5.server.api.so.ISharedObject;
|
||||
|
||||
|
||||
public class RoomListener implements IRoomListener{
|
||||
|
||||
private ISharedObject so;
|
||||
|
@ -30,7 +30,7 @@ import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
|
||||
/**
|
||||
* This encapsulates access to Room and Participant. This class must be threadsafe.
|
||||
*/
|
||||
@ -282,7 +282,7 @@ public class RoomsManager {
|
||||
public void presentationUpdates(HashMap<String, String> map) {
|
||||
conversionUpdatesMessageListener.handleReceivedMessage(map);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user