Hi Tom,
Tom Krcha wrote:
> Now it's without error. But with WARN:
>
> Tried calling: so.sendMessage("fromServerMessage", list); in roomJoin as
> well as in appJoin
>
> [WARN] 14021 mina-1:( org.red5.server.so.SharedObject.sendUpdates ) Can't
> send sync message to unknown connection
> [EMAIL PROTECTED]
okay, so that message reports that you tried to add a custom listener
using "so.addEventListener". This interface is only supported for network
clients (i.e. RTMPConnection objects).
To register a custom server-side listener, you will need to implement the
interface "org.red5.server.api.so.ISharedObjectListener" and register your
object using "so.addSharedObjectListener".
On your object, the method "onSharedObjectSend" will be called when a
client (or the server) invokes a SO handler. See the interface docs at
http://dl.fancycode.com/red5/api/org/red5/server/api/so/ISharedObjectListener.html
for other callback methods.
Please note that this is only available on the trunk!
Joachim
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org