Hi,
we’re currently using Windows Media Services for live and on-demand streaming but would like to switch to Wowza.
We need to solve one issue: automated SMIL playlist generation. Currently we’re using PHP to generate playlists dynamically (mostly for ads insertion). "
It looks like this:
<?wsx version="1.0"?>
the wsxforward.php dynamically generates the SMIL file.
Would this scenario be possible with Wowza?
Thank you!
It doesn’t matter what method you use to create the file as long as it is in the right place and has the right form.
You can generate MediaList (smil) in memory this way:
https://www.wowza.com/docs/how-to-use-java-api-calls-to-resolve-smil-file-requests
Richard
Oliver,
I don’t think that can work.
Richard
Are you talking about the smil file that is used in this scheduler example?:
https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher
I thought you were talking about the smil files used for multi-bitrate streaming, but those will not facilitate ad insertion. The above scheduler will, which uses stream class. In that example the smil is read and the schedule set in a ServerListener that runs when Wowza starts.
If you are talking about vod streaming, and only use Flash RTMP clients, and this does not involve multi-bitrate, you can do this:
https://www.wowza.com/docs/how-to-insert-a-pre-roll-or-mid-roll-for-video-on-demand-playback-in-flash-rtmp-client
Richard
Hello Richard,
thank you for your answer. I’m not sure if I explained it well. In the example I’ve posted above you see that we use a remote URL as a media source. In fact it is a PHP script which generates the SMIL content everytime it is opened. So the question is - would it be possible to use a PHP file as a source in the playlist?
Thank you.
Oliver
Ok. And is there any other way to change the SMIL playlist upon each client connection?
We’re using it for video ads insertion. Each time a flash client connects a new playlist with random video ad is generated…
Oliver