[Red5] Help with roomConnect
Fábio Costa
blackjackdevel at gmail.com
Wed Sep 3 12:46:47 PDT 2008
For some reason my roomConnect is not working, i want to authenticate the
users.
In my log file i get all System.out.println from my system and the red5
stuff. I put the following code in a class that extends
org.red5.server.adapter.ApplicationAdapter:
/**This method will execute when first client will connect to Red5
server*/
public boolean roomStart(IScope room){
if(super.roomStart(room) == false){
return false;
}
return true;
}
/**This method will execute everytime when a client will connect to Red5
server*/
public boolean roomConnect(IConnection conn, Object params[]){
System.out.println("In the conn method");
System.out.println(params[0]);
if(super.roomConnect(conn, params) == false){
return false;
}
System.out.println("NO CON"+conn.toString());
return true;
}
but it doesn't go to the red5.log file, am i doing something wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20080903/7ff0bbe7/attachment.html
More information about the Red5
mailing list