as well you should check out the following utility: http://dl.fancycode.com/red5/api/org/red5/server/api/service/ServiceUtils.html

On 9/15/06, Dominick Accattato <[EMAIL PROTECTED]> wrote:
     
  IConnection current = Red5.getConnectionLocal();
        Iterator<IConnection> it = scope.getConnections();
        while (it.hasNext()) {
            IConnection conn = it.next();
            if (conn.equals(current))
                // Don't notify current client
                continue;
           
            if (conn instanceof IServiceCapableConnection) {
                ((IServiceCapableConnection) conn).invoke("someClientMethod", new Object[]{"Hello World"}, this);
                log.debug("sending notification to "+conn);

            }
        }

On 9/15/06, Marcel D. <[EMAIL PROTECTED]> wrote:
Hi everyone,

I used to do this in FMS to inform all connected client:

for (i = 0; i < application.clients.length; i++){
    application.clients[i].call("someFunctionOnClient");
}

Could someone give me the equivalent for Red5? Just a chunck of code and I'll be happy....!

Thanks!

Marcel






_______________________________________________
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