Hi,
You will need to make sure that this particular live stream is already published on this particular application. Assuming that your application is called “ucbtv1” and the live stream published to this application is called “myStream”, then your streamschedule.smil file would look something like this:
<smil>
<head>
</head>
<body>
<stream name="lftctv"></stream>
<playlist name="pl1" playOnStream="lftctv" repeat="true" scheduled="2011-02-25 09:00:00">
<video src="mp4:MOS_HouseAnthemsv16.mp4" start="0" length="10"/>
<video src="mp4:MoS_VIP_FLAT_Fire_preview.mp4" start="0" length="10"/>
<video src="mp4:MOS_30s_PRORES.mp4" start="0" length="10"/>
</playlist>
<playlist name="pl2" playOnStream="lftctv" repeat="true" scheduled="2011-02-25 09:00:30">
<video src="mp4:myStream" start="-2" length="300"/>
</playlist>
</body>
</smil>
Setting the start="-2" parameter would mark this stream as a live stream. Having this in place, at the scheduled time, the live stream will play back for 300 seconds, and then move to the next playlist item.
You can also have this:
<smil>
<head>
</head>
<body>
<stream name="lftctv"></stream>
<playlist name="pl1" playOnStream="lftctv" repeat="true" scheduled="2011-02-25 09:00:00">
<video src="mp4:MOS_HouseAnthemsv16.mp4" start="0" length="10"/>
<video src="mp4:MoS_VIP_FLAT_Fire_preview.mp4" start="0" length="10"/>
<video src="mp4:MOS_30s_PRORES.mp4" start="0" length="10"/>
<video src="mp4:myStream" start="-2" length="300"/>
</playlist>
</body>
</smil>
This would play back the 3 video files for 10 seconds each, and them switch to the live stream for another 300 seconds. Since the playlist is set to “repeat”, after the 300 seconds of live, the playlist will start from the beginning.
Zoran