[Red5] Problems with Parameters of calls (call() from Flash)
Joachim Bauch
jojo at struktur.de
Wed Jun 21 15:11:13 EDT 2006
Hi Leif,
Leif Wells wrote:
> If I call a method on Red5...
>
> Model.simpleConnect.callServer("changeUserStatus", [id, status]);
>
> and then have a Red5 Handler:
>
> public void changeUserStatus(Object[] params){}
[...]
You should specify the methods in Red5 like this:
public void changeUserStatus(String id, int status) {}
or
public void changeUserStatus(IConnection conn, String id,
int status) {}
That way you can use the passed arguments directly.
Joachim
More information about the Red5
mailing list