Wowza Community

How to use ModuleStreamControl using JAVA player

Hello I have followed following tutorial to create dynamic playlist on the fly:

https://www.wowza.com/docs/how-to-control-stream-class-streams-dynamically-modulestreamcontrol

But since it provides its support only for flash player, I was wondering is there a way to call these method from some other JAVA agent, that will call these methods to add or remove playlist item from existing stream.

Hi Sachin,

This has been handled in a ticket already (279454), but for others with the same question, you can use the JConsole to call these methods. You can also wrap an HTTPProvider around these methods so that you can call them through an HTTP request. If you do prefer your own custom Java agent, you will need to add the javaagent path in conf/Tune.xml as a VMOption (it has to be the first one) similar to the following.

<VMOption>-javaagent:"\path\to\javaagent.jar"</VMOption>

Michelle