I described in detail the IIS 7, Smooth in the "IIS 7 Smooth streaming technology application in Silverlight 3" article Streaming technology and how to play the content of the smooth streaming video in Silverlight using the MediaElement control, before continuing with this article, if you have questions about what smooth streaming you can go to see my article first, also count as an introduction bar.
In the previous article I showed you how to use existing MediaElement controls to support the playback of smooth streaming video, which in fact has a lot of limitations, such as controlling playback progress, tracing events when adding video playback, and so on. The Smoothstreamingmediaelement control, as a reinforced version of the MediaElement control, compensates for this shortcoming, while the control also supports playback of the normal video file. Of course you remember that big Buck Bunny demo at Smooth Streaming's official site, and maybe you want to know how it's going to work, and don't worry, in the next series of articles you'll spend a bit of time talking about how to use the Ssme control, Because Big Buck Bunny's core control is ssme.
What do you need?
1. Since it is the development of a Silverlight project, then the first Visual Studio and Silverlight Tool kits is definitely needed, which I do not detail, I believe that all of you have the environment, if not available, can To the Microsoft Official network to find relevant resources.
2.IIS Smooth streaming Player Development Kit. The current version should be Beta2 version, download after installation, you will find Microsoft.Web.Media.SmoothStreaming.dll, this is what we need.
3. Another is the knowledge that is required to develop Silverlight, and if you have never developed a Silverlight program and know nothing about Silverlight, then I recommend that you not continue to look down.
How to get Started
Now we should be able to begin our project. First create a Silverlight project in Visual Studio, as shown in the following illustration.