Variables | |
| var | flixpub_fmsmon_enable |
| Enable FMS connection polling. [bool]. | |
| var | flixpub_fmsmon_poll_delay |
| Delay between polling attempts [number, milliseconds]. | |
| var | flixpub_fmsmon_poll_timeout |
| Polling timeout [number, milliseconds]. | |
| var | flixpub_fmsmon_poll_func |
| Polling function name [string]. | |
| var | flixpub_fmsmon_poll_args |
| Arguments for polling function [Array]. | |
Setting flixpub_fmsmon_enable to true to enables FMS connection polling.
flixpub_fmsmon_poll_delay controls the number milliseconds the plug-in waits between polling attempts.
flixpub_fmsmon_poll_timeout controls the number of milliseconds the plug-ins wait for a response from the server side action script function before a timeout occurs
Name of the server side action script function the plug-in should call for connection monitoring.
The following is a basic example of setting up the server side action script function.
function client_ping()
{
// just some logging
trace("ping: flixpub client polled");
// response message
var s = "this must not be empty";
// Client.call the flixpub plug-in
this.call("make_up_any_name_you_want", null, s);
// just some logging
trace("called client fn with {" + s + "}");
}
// prototype the function
Client.prototype.ping = client_ping;
Strings added to the flixpub_fmsmon_poll_args array will be passed to the FMS action script function as individual arguments in array order.