public boolean roomConnect(IConnection conn, Object[] params) {
log.debug("roomConnect : ");
try {
IServiceCapableConnection service = (IServiceCapableConnection) conn;
String streamId = conn.getClient().getId();
boolean isAVClient = false;
if (params.length == 1) {
isAVClient = Boolean.valueOf("" + params[0]);
}
log.debug("### Client connected to OpenMeetings, register Client StreamId: "
+ streamId + " scope " + conn.getScope().getName()+ " isAVClient "+isAVClient);
log.debug("params "+params);
// Set StreamId in Client
service.invoke("setId", new Object[] { streamId }, this);
String swfURL = "";
if (conn.getConnectParams().get("swfUrl") != null) {
swfURL = conn.getConnectParams().get("swfUrl").toString();
}