Wowza Community

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.

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