Wowza Community

Is it possible to add a .stream fiel to SMIL playlist instead of a mp4?

Example

<?xml version="1.0" encoding="UTF-8"?>
<smil title="app">
<head></head>
<body>
<stream name="app"></stream>

<playlist name="playlist" playOnStream="app" repeat="true" scheduled="2020-05-22 10:39:16">
<video length="-1" src="test.stream" start="0"></video>
</playlist>

</body>
</smil>

Or if not possible a .stream file, is possible to add a RTML URL? My idea is to restream/relay another streaming with sheduled time.

@Cesar Fernandes, It’s possible, but (1) you must make sure that the .stream file has been started and is running on the server and (2) you must set the video start parameter to “-2”.

See https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher

And is it possible a rtmp link? Like a rtmp://server.com/live/live

On the wowza docs only show mp4 on video src then I cant know if I can use others types:

<video src="mp4:sample.mp4" start="0" length="-1"/>

An RTMP link won’t work. In that case you must first create a .stream file that contains the RTMP link and start that .stream file w/MediaCaster Type “LiveRepeater”. Once that stream is running, you can specify the .stream’s streamname (e.g. myrtmpsource.stream) as input for the SMIL.