How to create VOD playlist?

First of all, hello everyone, as this is my first post.

I’ve got very simple requirement. I want to play a number of files as one stream.

I tried the following method:

with my streamschedule.smil file:

<smil>
	<head>
	</head>
	<body>
		<stream name="test_playlist"></stream>
		<playlist name="my_playlist" playOnStream="test_playlist" repeat="false" scheduled="2013-01-01 16:00:00">
			<video src="mp4:vid_1.mp4" start="0" length="30"/>
			<video src="mp4:vid_2.mp4" start="0" length="40"/>
			<video src="mp4:vid_3.mp4" start="0" length="20"/>
		</playlist>
	</body>
</smil>

I play my stream in the following way using my live app (myApp1):

Server: rtmp://localhost/myApp1

Stream: test_playlist

Everything works fine, apart from the fact that scrubbing is not available when I play the stream of 3 files, and when I want to play the stream again I need to restart the server or use ModuleScheduleClient.

Second approach I tried to achieve the same functionality I used the method described below:

https://www.wowza.com/docs/how-to-insert-a-pre-roll-or-mid-roll-for-video-on-demand-playback-in-flash-rtmp-client

But I am not sure if I can use the same .smil file as above if yes then my question is how to achieve that?

Secondly I tried to stick midroll, that worked fine, but there is a sentence which is not quite clear to me:

You could play any number of streams whole or in part as one stream

How can I play any number of streams? Can I specify more video clips in “stream:” field?

Thank you for any help in advance.

The 2nd link is the correct and at present the only way to do vod playlist, and it only works for Flash RTMP clients. There is no smil involved.

Richard