Is it possible to write a web service and deploy it to the wowza server? If yes, can you provide some guidance as to how it would fit the server architecture? I'm looking at a way to query the wowza server from a client/server app. I know I can write a module that accesses remote web services, but don't know how to write a module that would serve as a web service (if it is feasible). Perhaps you can suggest an approach other than web services.
My suggested approach would be to use Apache Axis. The problem is where to hook it into the server. One approach would be to use the onAppStart and onAppStop event method handlers. You could fire up an Apache Axis Web Services API each time an application is started and stopped. You can stop an application from being unloaded by setting the application timeout (Application/ApplicationTimeout) to 0 in VHost.xml. Then once the application is started it will keep running.
Can you use this hook for now to get your web service started. Let me consider a better way of starting these types of applications on server start. It would be a lot cleaner.
You could then use MBean/JMX to expose your custom API through this same interface.
Integrate a Java servlet container into the Wowza Pro server and use Axis to expose your API. You can use the Wowza Pro module OnAppStart/OnAppStop interface to kick off a new Thread that would run either Tomcat or something smaller like Winstone.