I am trying to schedule a playlist on a Wowza server, so that videos get played successively (like a TV channel). I started following this tutorial :
In /usr/local/WowzaStreamingEngine/conf/Server.xml
I added this in ServerListeners :
<ServerListener
<BaseClass>com.wowza.wms.plugin.collection.serverlistener.ServerListenerStreamPublisher</BaseClass>
</ServerListener>
In /usr/local/WowzaStreamingEngine/conf/Application.xml
I added this in Modules :
<Module>
<Name>streamPublisher</Name>
<Description>Schedules streams and playlists.</Description>
<Class>com.wowza.wms.plugin.collection.module.ModuleStreamPublisher</Class>
</Module>
I created a smil file in /usr/local/WowzaStreamingEngine/content/ana.smil
containing this :
<?xml version="1.0" encoding="UTF-8"?>
<smil>
<head>
</head>
<body>
<stream name="live"></stream>
<playlist name="pl1" playOnStream="live" repeat="true" scheduled="2013-09-25 16:00:00">
<video src="mp4:sample.mp4" start="5" length="5"/>
<video src="mp4:sample.mp4" start="50" length="5"/>
<video src="mp4:sample.mp4" start="150" length="5"/>
</playlist>
</body>
</smil>
I rebooted the server...
Now I was expecting to see the stream coming to my Application "live through the Stream called "live"... But nothing shows.
I guess I missed a step, maybe adding streamPublisherSmilFile
property as said in Wowza link I posted above ... But where do I set that ?
Thanks for you help. Regards, John
You need to add both the Server and Application Properties
Server Properties
/usr/local/WowzaStreamingEngine/conf/Server.xml
<!-- Properties defined here will be added to the IServer.getProperties() collection -->
<Properties>
<Property>
<Name>...</Name>
<Value>...</Value>
<Type>...</Type>
</Property>
</Properties>
Application Properties
/usr/local/WowzaStreamingEngine/conf/{APP_NAME}/Application.xml
Eg: for the live app:
/usr/local/WowzaStreamingEngine/conf/live/Application.xml
<!-- Properties defined here will be added to the IApplication.getProperties() and IApplicationInstance.getProperties() collections -->
<Properties>
<Property>
<Name>...</Name>
<Value>...</Value>
<Type>...</Type>
</Property>
</Properties>
You also need to copy the module .jar file from the add-on collection to:
/usr/local/WowzaStreamingEngine/lib
And then restart Wowza.