Trouble with LoopUntilLive module.

Hello.

I’m trying to set up a looping video to act as filler whenever a specific live stream is not yet available.

I have followed the article at https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher and at https://www.wowza.com/docs/how-to-loop-a-pre-roll-until-a-live-stream-starts-loopuntillive.

These are my StreamPublisher module properties (webrtc is not for this module, but added in case it has any relevance).

/Root/Server webrtc76de5tceo3l18xdh9e7ga Boolean true

/Root/Server streamPublisherApplication String webrtc/definst

The webrtc application is set to use the [installdir]/content directory, and I have the following smil file there, named “streamschedule.smil”

<smil>
    <head>
    </head>
    <body>
        <stream name="Stream1"></stream>
        <playlist name="pl1" playOnStream="Stream1" repeat="true" scheduled="2009-12-11 16:00:00">
            <video src="mp4:sample.mp4" start="0" length="20"/>
        </playlist>
    </body>
</smil>

Upon server launch, Stream1 is successfully created in the webrtc application with the looping video.

Now, in my webrtc application, I have the LoopUntilLive module enabled, and the following properties set:

/Root/Application loopUntilLiveOutputStreams String Stream1

/Root/Application loopUntilLiveSourceStreams String myStream

/Root/Application loopUntilLiveReloadEntirePlaylist Boolean true

/Root/Application streamPublisherSmilFile String streamschedule.smil

If I’m understanding this right, this means that whenever I’m playing back Stream1, and a feed to myStream is started, I should watch the myStream feed while playing back Stream1, however, that is not the case. I can still play back each of the streams on their own, but the switching doesn’t happen.

In case it’s relevant, I’m both feeding and consuming the live stream via rtsp with ffmpeg.

I’d be grateful if you could provide any pointer as to what I’ve misconfigured here.

Thanks in advance!