thanks a lot Manuel!
It's ok now :)
Le 26 févr. 07 à 11:59, Manuel R.G. a écrit :

> Hi, Jean-Philippe I've tested this code and it works ( only allows 2
> simultaneous connections ):
>
> import org.red5.server.adapter.ApplicationAdapter;
> import org.red5.server.api.IConnection;
>
> public class Application extends ApplicationAdapter {
>
>       public boolean appConnect (IConnection conn, Object[] params) {
>               if ( getClients().size() > 1 ) {
>                       rejectClient();
>                       return false;
>               }
>               return true;
>       }
> }
>
> Make sure you call your client appLogin method...
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>



_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to