|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
q:the following code is part of my roomJoin()
....... Set<IClient> clients_current = scope.getClients(); log.debug("ClientSIZE: " + clients_current.size() ); //check for max room attendees int max_attendees = this.m_the_db.get_setting_max_attendees_per_meeting(client.getAttribute("client_meetingid").toString()); int clients_in_room = clients_current.size(); if(clients_in_room>=max_attendees){ log.info("Room FULL! MaxAttendees:RoomClients <> " + max_attendees + ":" + clients_in_room); rejectClient("Room Full"); }else{ if(clients_current.size()==0){ //add_user_to_scope_userlist(scope, client); } //send_out_user_list(scope); } ............. LOG: 2009-07-09 15:08:46,615 [pool-4-thread-3] INFO vs.Application - ********************************************************************************** 2009-07-09 15:08:46,615 [pool-4-thread-3] INFO vs.Application - Application - roomJoin - START 2009-07-09 15:08:46,615 [pool-4-thread-3] INFO vs.Application - ********************************************************************************** 2009-07-09 15:08:46,615 [pool-4-thread-3] INFO vs.Application - Client MeetingID: 55011638 2009-07-09 15:08:46,615 [pool-4-thread-3] INFO vs.Application - ClientID: 0 2009-07-09 15:08:46,615 [pool-4-thread-3] DEBUG vs.Application - ClientSIZE: 0 2009-07-09 15:08:46,616 [pool-4-thread-3] INFO vs.Application - Room FULL! MaxAttendees:RoomClients <> 0:0 >> my client is getting rejected....Argh... did something change since i wrote that code(v7)? >> im basically the ONLY one who is connecting to that room... (DEV) thx _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: q:never mind ;-)
why does always get brighter after posting? On Thu, Jul 9, 2009 at 3:17 PM, tom <tomabroad@...> wrote: the following code is part of my roomJoin() _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: q:heheh.
seems you've found it, but your clients_in_room is greater than or equal to max attendees
On Thu, Jul 9, 2009 at 3:23 PM, tom <tomabroad@...> wrote: never mind ;-) _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
|
|
Re: q:yeah, the underlying function....pulled the wrong column...im in the migration to attach it to a ror-backend....so a few things got mixed up.
but thx On Thu, Jul 9, 2009 at 4:03 PM, Dominick Accattato <daccattato@...> wrote: heheh. _______________________________________________ Red5 mailing list Red5@... http://osflash.org/mailman/listinfo/red5_osflash.org |
| Free embeddable forum powered by Nabble | Forum Help |