Dynamic SMIL File

Hi,

I am using the java api to create smil files on the fly using the following tutorial:

https://www.wowza.com/forums/showthread.php?14664-New-API-for-resolving-MediaList-(SMIL-file-requests)-through-Java-API

I have successfully created a multistream show on flowplayer but using a static smil file in the content folder, in flowplayer I call this file via:

url: "http://server::1935/sd_incoming/smil:testing2-smil.smil/medialist.smil "

According to the tutorial above all I need to do is replace smil:testing2 to amlst:testing2 to get a smil file dynamically retrieved, however I do not get this. It successfully connects to the custom module as I get some output. Does anyone know how I can get this?

Hello,

Assuming that you have created the custom module from the example you mentioned and you have two VOD files (testing2_400k.mp4 and testing2_800k.mp4), then you should request the media list with an URL similar to this:

http://serverIP:1935/sd_incoming/amlst:testing2/medialist.smil

Zoran

Great.

Thanks for feedback.

Zoran

thank works, many thanks!