Need Help with broadcastMsg in the FMS Admin API
Anyone have any experience using broadcastMsg in the FMS Admin API? I am making an RTMP call to this method to call a method in an application. The broadcastMsg method always returns a success for me, even if I call a non-existent method. The method in the app I am trying to call is called getClientIPs. When I call this method from a standard NetConnection.call(), it works fine and traces a result in the app's Live Log in the FMS Admin Console. However, it seems to never be called by broadcastMsg. I never see any output in the Live Log using this method.
Here is how my method is configured in my application:
Client.prototype.getClientIPs = function()
{
trace( 'ip is 127.0.0.1' );
ips = new Array();
ips.push( '127.0.0.1' );
return ips;
}
I have tried defining on the application object as well as in the root scope, to no avail. Does anyone have any suggestions as to how I can get the method to be called by broadcastMsg in the Admin API? Also, can I even get a value returned using this method? I want to bring client IPs into my FMS Admin app.
Thanks!
