Thanks for the past assistance. I have situation where there is along SMIL file with 900+ videos (running VOD as live) in a single playlist. This is a set daily schedule to start at, say, 10:00 am and continues till 12 midnight. There are 500 small files and due to calculation issues, all videos are added in the same playlist (900 <video src...> entries).
Hypothetically, if the server has to reboot, the stream will start from the first video. I have not tested this myself but am told by the client that this is happening.
Given the situation, what needs to be done to make the video resume from current location? They want that in case the server needs to be rebooted, the stream should start playing from the current video (and time).
Example, if the server has to be rebooted at 12:15 noon when video9 was playing, the stream should resume playing from video9 12:22 (or whenever it comes alive). I have scratched my head but can't seem to think of anything (other than adding each video as a separate playlist, but that needs each videos duration to be known).
It depends on how you've crafted your schedule smil file, but if for example using the streamschedule.smil example as
found here then one simple option is to rebuild the smil file outside of Wowza by trimming entries that have a "scheduled=" value that is earlier than the current time. This needs to be done prior to Wowza restarting. Each playlist item would need a specific "scheduled" parameter for this to work. If approaching this from a Wowza module perspective, the
ModuleStreamControl module is a good starting point.