Hi,

Jean-Philippe DELAVALLADE schrieb:
can you show me an example please (serverside code and client code in flash) ?

Red5:
public void appLeave(IClient client, IScope app) {
    ServiceUtils.invokeOnAllConnections(app, "clientLeft", new 
Object[]{client.getId()});
    super.appLeave(client, app);
}

Flash:
class MyConnection extends NetConnection {
    function clientLeft(id: String) {
        trace("Client left: " + id);
    }
}

You can check out the videoconference example, which uses this technique
to set a id on each client by calling "setId".

Joachim

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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

Reply via email to