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,7 +135,7 @@ 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());
|
||||
|
Loading…
Reference in New Issue
Block a user