Rodrigo Ordonez Licona wrote:
> Ideally a server process would be better, but I think its easir to
write
> a script that iterates through connections and somehow removes garbage ?
I thisnk IConnection.getWrittenBytes() may help you. You can assign a
periodical check with a new thread.
> Could a flash client do this ?
You can organize polling of clients like this
Client:
nc.isAlive = Delegate.create( this, isAliveHandler );
public function isAliveHandler():Boolean
{
return true;
}
Server-side:
Iterator<IConnection> iter = Red5.getConnectionLocal().getScope();
// ... iterate with this iterator and call iter.invoke( "isAlive",
callbackObj ); handling callback result
--
Michael "Antares" Klishin,
http://www.novemberain.com | mailto:[EMAIL PROTECTED]
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org