Results 1 to 2 of 2

Thread: NetConnection invoke callback error. Long string in parameter

  1. #1
    Join Date
    Oct 2012
    Posts
    23

    Default NetConnection invoke callback error. Long string in parameter

    I got this exeption when send long string from wowza to flash client.

    Error #2044: Unhandled AsyncErrorEvent:. text=Error #2095: flash.net.NetConnection was unable to invoke callback updateStats. error=ArgumentError: Error #1063: Argument count mismatch on ru.rulet.gateway::ServerListener/updateStats(). Expected 1, got 9.
    Call from wowza:
    client.call("updateStats", null, longString);
    Flash part:
    public function updateStats(jsonString:String):void {
    			trace("updateStats", jsonString);
    }
    If I send short string all works fine.

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Expected 1, got 9.
    Somehow the long string is being seen as 9 args instead of 1, perhaps some delimiting character in the string, but not sure.

    Richard

Similar Threads

  1. Weird Error invoke(onHTTPCupertinoEncryptionKeyLiveChunk)
    By f.hernandez.b in forum Wowza Streaming Server Java API
    Replies: 1
    Last Post: 07-08-2014, 08:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •