OK. I’ll just explain how i have it configured and maybe you’ll see some difference in your configuration.
-
In Application/Modules i have two modules configured - in this order:
ModuleLoopUntilLive
streamPublisher
(when i had streamPublisher above the ModuleLoopUntilLive i had some problems with switching (don’t remember what they were exactly). -
Under Application/Properties/Custom add
/Root/Application streamPublisherSmilFile String XXX.SMIL (this is where you type SMIL name where you have your filler VOD’S listed) you need to create this in /content directory. This SMIL (will start replacement streams when WowzaStreamingEngine service starts).My SMIL template:
You can add more than one mp4 by adding
Also you can add more streams (many “Bitrates”)
/Root/Application loopUntilLiveOutputStreams String here you place replacement.stream (replacement stream) - you can add many stream just seperate them with comma - replacement.stream,replacement2.stream etc.
/Root/Application loopUntilLiveSourceStreams String here you post LIVE stream name (live.stream) that will replace replacement.stream when your LIVE goes live.
Same story as replacement streams:
live.stream,live2.stream (just remember that you have to keep streams in order. First replacement stream will monitor live.stream to come online , second replacement will check live2.stream etc.)
-
Now you create another SMIL file (for playback) and in this SMIL read replacement.stream and replacement2.stream or in two seperate SMIL’S if those are two different live streams.
So if LIVE stream is OFF then VOD filler video will loop if LIVE comes online it will switch to LIVE and back to VOD when LIVE ends.
Also one NOTE: i had to configure Application/Properties/Custom /Root/Application/LiveStreamPacketizer CalculateChunkIDBasedOnTimecode to FALSE - since timecode on LIVE and VOD filler are different and this gets Wowza confused.
Hope this helps.