Adaptive bitrate (ABR) live streaming to Flash, Apple iOS devices and Silverlight requires that you have an encoder that can generate multiple bitrate streams from the same source that are properly key-frame aligned. Once you have an encoder that can generate properly aligned streams then you need to create a Synchronized Multimedia Integration Language (SMIL) file that links the streams together for playback.
For example, let's say we have three live streams encoded at three different bitrates myStream_700.stream (700kbps total bitrate), myStream_350.stream (350kbps total bitrate) and myStream_200.stream (200kbps total bitrate). Using a text editor, create a SMIL file in the [install-dir]/content folder with the name myStream.smil with the following content:
<video src="myStream_700.stream" system-bitrate="700000"/>
<video src="myStream_350.stream" system-bitrate="350000"/>
<video src="myStream_200.stream" system-bitrate="200000"/>
You can see that there is a <video> entry in the <switch> container for each rendition of the stream. The system-bitrate value is set to the total bitrate in bits-per-second for that stream.
To play using Adobe Flash player (San Jose/Flash HTTP)
Double-click [install-dir]/examples/SimpleVideoStreaming/clientOSMF/bin-release/SimpleOSMFPlayer.html, enter the information below and click the Play button.
To play using an Apple iOS device (Cupertino/Apple HTTP Live Streaming)
Enter the following URL into the Safari web browser on the device:
To play using Microsoft Silverlight (Smooth Streaming)
Double-click [install-dir]/examples/SimpleVideoStreaming/clientSilverlight/Default.html, enter the URL below and click the Play button.