You MUST download the IIS Smooth Streaming Player Development Kit and add Microsoft.Web.Media.SmoothStreaming.dll
to your project.
To build the Source Code and How To examples copy this dll into the Lib folder in both projects. Get it here
After downloading the .dll's ensure that they are not blocked by the operating system by following these steps:
- Right click on each SMF .dll in Windows Explorer
- Uncheck "Read Only"
- Click "Unblock". If this button is not available then your files are not blocked and you can ignore these instructions.
- The Bitrate.MaximumBitrate property is not being updated when the SmoothStreamingSource is specified in XAML. As a result it will stay the default value of 1.5Mbps
- The Bitrate.MaximumBitrate property does not recalculate according to screen size. The player will adapt it's bandwidth usage according to the current display size however, the Bitrate control does not recalculate its MaximumBitrate property accordingly. This means that it is possible to have a displayed MaximumBitrate value that is higher than the player will attempt to obtain.
- The Marker.Time property is relative to the stream start time. This value can be found in the manifest by looking at the t="..." values. ( <c t="372271900000" /> <c t="372291920000" /> ) These values are stored in ticks (1/10000000 sec).
- *H.264 Smooth Streaming is not supported but is planned for a future release. Currently only VC-1 encoding is supported.