How to call a server side method using JavaScript instead of Flash's NetConnection?

Is it possible to do this?

Thanks

You can use XMLHttpRequest to call a Wowza HTTPProvider. Or you can use ExternalInterface to call an ActionScript function which can do NetConnection.call to an Application Module.

Richard

The Wowza IDE user guide covers basics.

Then you can see how HTTPProviders are implemented by example; take a look at the built-in HTTPProviders:

https://www.wowza.com/docs/how-to-monitor-server-connections-load-and-application-statistics

The above articles includes links to source code of each of the 3 built-in HTTPProviders, and there are other examples that you can use to get started here:

https://www.wowza.com/docs/http-providers

Richard

Good call Richard. Are there any tutorials on setting up HTTPProvider to listen to incoming requests?

Thanks!