Smooth Streaming Client 1.0 Development Sample for Silverlight 4

Windows This is a Community Contributed Download

CategoryDevelop, Serve Media
Supported by N/A
Works WithIIS 7, IIS 7.5
DocumentationSmooth Streaming Client 1.0 Development Sample for Silverlight 4 Documentation
Updated onJune 11, 2010
Uploaded bymike dodaro


Sample application based on the IIS Smooth Streaming Client for use with Silverlight 4 . This sample demonstrates use of the Microsoft.Web.Media.SmoothStreaming namespace and SmoothStreamingMediaElement class with Silverlight 4 . The Microsoft.Web.Media.SmoothStreaming APIs support Silverlight applications that are capable of playback and control of IIS Smooth Streaming data.


This sample will help you set up a development environment and experiment with basic code scenarios used by the SmoothStreamingMediaElement.

IIS Smooth Streaming scenarios:

  • Event handling
  • Setting Position in Media Stream
  • Using Timeline Markers and Events
  • Scheduling Media Clips
  • Bit Rate Selection and Monitoring
  • Fast Forward and Rewind Modes (Trick Play)
  • Composite Manifests for Rough Cut Editing
  • Merge and Parse External Manifests
  • Testing and Debugging Applications


IIS Smooth Streaming supports variable bit-rate streaming that adjusts to the bandwidth capacity of the network and client processors. The code scenarios in this application provide an introduction to application development based on the IIS Smooth Streaming Client 1.0 RTW. Developers who have worked with Silverlight or Windows Presentation Format (WPF) will find the code scenarios familiar. Applications implement the user interface in extensible application markup language (XAML) and application logic in corresponding code-behind pages.


You can build a Silverlight applications that display and interact with IIS Smooth Streaming media content by using the Microsoft® Silverlight™ 4 SDK and Microsoft Visual Studio 2010 or Visual Studio Web Developer Edition. The media player for this type of application is an instance of the SmoothStreamingMediaElement class. Interaction with the data stream uses other classes from the Microsoft.Web.Media.SmoothStreaming namespace. The DLL that contains the libraries is installed with the IIS Smooth Streaming Client 1.0. For more information about IIS Media Services, see IIS Media Services 4 Beta Release.

Development Environment

To get a Smooth Streaming player application running, turn on Internet Information Services (IIS) from the Control Panel of your development computer and add the multiple-bit-rate files and the manifest files of the Smooth Streaming content to the default Web site in IIS. After you have built the project shown in this topic, copy the Silverlight .xap file and the TestPage.html file that hosts the application to the default Web site that contains the Smooth Streaming files. This enables the Silverlight application to run in the same domain and on the same port as the Smooth Streaming media.
For basic information about installing the Microsoft Web Platform, see the Microsoft/web. You can create Smooth Streaming content with Expression Encoder 3 or other tools that are described in the Smooth Streaming Showcase.