Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetConnection.Call.Failed on what should be valid methods. #27

Open
GoogleCodeExporter opened this issue Jun 29, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant