What steps will reproduce the problem?
1. Write RTMP client (Or even build Rtmp/ConsoleApplication) and connect to
server
2. Implement method with variable number of arguments with either 'params' or
try to use JsonRpcParam as advised in documentation
3. Call method from server
What is the expected output? What do you see instead?
I expect the method I have written to be called when the Flash server makes
said calls. Instead, it suffers NetConnection.Call.Failed, could not find a
suitable method with name etc etc. I believe this is because I am trying to
write a method with a variable number of arguments. All the FluorineFx comments
and documentation seems to suggest this should be entirely possible, but I
cannot get it to work.
What version of the product are you using? On what operating system?
Trunk build targeting .NET 3.5/VS2008
Please provide any additional information below.
I have successfully implemented other calls, however I have specifically set
out the arguments for those; none of those make use of the 'params' keyword.
Any function where I try to use a param array does not work at all.
public void join(String userID, String userNick)
{
//This method works fine
}
public void joins(params object[] array)
{
//This method never works
}
Original issue reported on code.google.com by Rossco1...@googlemail.com on 4 Sep 2011 at 7:23
Original issue reported on code.google.com by
Rossco1...@googlemail.com
on 4 Sep 2011 at 7:23