Wednesday, 15 June 2011

How to schedule streaming with Wowza Streaming Engine -


I am trying to schedule a playlist on a Wowza server, so that the video can be played sequentially (like a TV Channel). I started this tutorial:

In /usr/local/WowzaStreamingEngine/conf/Server.xml I added it to server listener: < / P> /usr/local/WowzaStreamingEngine/conf/Application.xml in

I added it to the module:

  & lt; Module & gt; & Lt; Name & gt; StreamPublisher & lt; / Name & gt; & Lt; Details & gt; Schedule streams and playlists. & Lt; / Description & gt; & Lt; Class & gt; Com.wowza.wms.plugin.collection.module.ModuleStreamPublisher & lt; / Class & gt; & Lt; / Module & gt; I have created a smile file in  /usr/local/WowzaStreamingEngine/content/ana.smil  that contains: 

 < Code> & lt; Xml version = "1.0" encoding = "UTF-8"? & Gt; & Lt; SMIL & gt; & Lt; Top & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; Stream name = "live" & gt; & Lt; / Stream & gt; & Lt; Playlist name = "pl1" playOnStream = "live" repeat = "true" schedule = "2013-09-25 16:00:00" & gt; & Lt; Video src = "mp4: sample.mp4" start = "5" length = "5" /> & Lt; Video src = "mp4: sample.mp4" start = "50" length = "5" /> & Lt; Video src = "mp4: sample.mp4" start = "150" length = "5" /> & Lt; / Playlist & gt; & Lt; / Body & gt; & Lt; / SMIL & gt;  

I rebooted the server ...

Now I was hoping to see the stream coming on my application "called Live through the stream "alive" ... but does not show anything.

I think I have remembered one step, maybe streamPublisherSmilFile property Adding as I said above in the Wowza link ... but where do I need

you need Is server and a Add both application properties

Server Properties

/usr/local/WowzaStreamingEngine/conf/Server.xml

  & lt;! - The properties defined here will be added to the archive -> gt; & gt; Properties & . & Lt; / name & gt; Price & gt; ... & lt; / value & gt; & lt; Type & gt; ... & lt; / type & gt; & lt; / properties & gt; ; & Lt; / properties & gt;  

Application Properties

example For example

for example

code> /usr/local/WowzaStreamingEngine/conf/live/Application.xml

  & lt ;! - The values ​​defined here will be added to IApplication.getProperties () and IApplicationInstance .getProperties () collection - & gt; & Lt; Properties & gt; & Lt; Property & gt; & Lt; Name & gt; ... & lt; / Name & gt; & Lt; VALUE & gt; ... & lt; / Pricing & gt; & Lt; Type & gt; ... & lt; / Type & gt; & Lt; / Property & gt; & Lt; / Properties & gt;  

You need to copy the module .jar from the add-on archive:

/ usr / local / WowzaStreamingEngine / lib

and then restart Wowza.


No comments:

Post a Comment