Smooth Streaming for IIS 7.0 - Getting Started

The Smooth Streaming extension for Internet Information Services (IIS) 7.0 allows you to set up a Web server as a Smooth Streaming server with a default Microsoft Silverlight 2.0 client implementation. This document covers the following scenarios:

Setting Up an IIS 7 Smooth Streaming Server

To install the Smooth Streaming extension for IIS 7.0, see the Installation Notes section in the Smooth Streaming Readme.

No additional configuration steps are required to deliver Smooth Streaming presentations. To verify that the Smooth Streaming extension is installed correctly, select a Web Site or virtual directory in IIS Manager and locate the Smooth Streaming Presentations feature page in the Media Services area.

Smooth Streaming Presentations

Note   If IIS Manager was running during the installation process, you will need to restart it to see Smooth Streaming Presentations.

Deploying and Playing the Sample Content

To experience Smooth Streaming in action, without creating your own content or Silverlight player, you can download and install high-definition (HD) sample content encoded for Smooth Streaming and Silverlight player templates from the Smooth Streaming Sample Content page. The following downloads are available from this page:

  • Big Buck Bunny Sample Content
  • Sample Client Refresh

You can also create your own Smooth Streaming content by using Microsoft Expression Encoder 2 Service Pack 1 (SP1). For more information, see the next section, Creating and Publishing Your Own Content.

Installing the Big Buck Bunny Sample Content

The Big Buck Bunny sample includes a video encoded into seven different bit rates for Smooth Streaming playback and the following Silverlight 2 templates:

  • SmoothStreamingBlackGlass. This is a standard Silverlight 2 player template.
  • SmoothStreamingUXSimulator. This Silverlight 2 player template includes controls that allow you to view a real-time graph that displays the current bit rate of the content being rendered by the player. It also allows you to simulate end user experiences under varying conditions by simulating drops and recoveries in available client bandwidth.

To install the Big Buck Bunny sample content

  1. On the Smooth Streaming Sample Content page, download the following file: Big_Buck_Bunny_Sample-IIS_Smooth_Streaming_Beta.exe.
  2. When you are prompted for a location to store the extracted sample files, enter a directory path. This article describes a Smooth Streaming Web server with the sample content stored in the Big_Buck_Bunny folder in the Default Web site (<SystemDrive>\inetpub\wwwroot\Big_Buck_Bunny). For example:


    Note
       If you want to use a another Web site or virtual directory to store the sample content, enter its physical path (for example, (<SystemDrive>\inetpub\wwwroot\MySite\Big_Buck_Bunny). Be sure to substitute your chosen Web site or virtual directory appropriately for the rest of the procedures in this article.

Installing the Sample Client Refresh

The Sample Client refresh contains an updated SmoothStreamingUXSimulator Silverlight 2 player template named SmoothStatsTracker.

To install the sample client refresh

  1. If you have not already done so, install the Big Buck Bunny sample content as described above. 
  2. On the Smooth Streaming Sample Content page, download the following file: Sample_Client_Refresh_IIS_Smooth_Streaming.exe.
  3. When you are prompted for a location to store the extracted sample files, enter the directory path that you used for the Big Buck Bunny sample content. For example:

  4. In Notepad, open C:\inetpub\wwwroot\Big_Buck_Bunny\default.html.
  5. Add the SmoothStatsTracker Silverlight template to the list of available players:
    <div> Silverlight Player: 
        <select id="SilverlightPlayer">
            <option value="SmoothStreamingBlackGlass.xap" selected>Black Glass (Default)</option>
            <option value="SmoothStreamingUXSimulator.xap">User Experience Simulator</option>
            <option value="SmoothStatsTracker.xap">Sample Client Refresh</option>
        </select>
    </div>

Playing the Sample Content in Silverlight

To play the sample content, first install the latest version of Microsoft Silverlight. Then open http://localhost/Big_Buck_Bunny/default.html (on the local Web server) or http://server_name/Big_Buck_Bunny/default.html (on a remote client computer). The following Web page is displayed:

Select a player from the Silverlight Player dropdown list, and then click Start Playing. The Smooth Stream opens in the Web browser, using the Silverlight browser plug-in for Smooth Streaming and the player template that you selected. Be sure to use the scrubbing bar to experience the instant-seek experience of Smooth Streaming.

For more information about the controls that you can use to vary the available bandwidth and exercise the adaptive nature of Smooth Streaming, see the User Interface Key section on the Experience Smooth Streaming Web page.

Creating and Publishing Your Own Content

You can create your own Smooth Streaming content by purchasing a copy of Microsoft Expression Encoder 2 and then installing Expression Encoder 2 SP1. The Service Pack provides Adaptive Streaming video and audio profiles and an IIS Smooth Streaming output mode, which makes it easy to create Smooth Streaming presentations.

Adaptive Streaming profiles and Smooth Streaming output

When you encode Smooth Streaming video using Expression Encoder 2, the video is output in Smooth Streaming format. The video files can then be published to IIS by using the WebDAV publishing plug-in available by default in the Publish section on the Output tab.

WebDAV Publishing

To publish directly from Expression Encoder to your Smooth Streaming Web server by using WebDAV, the free WebDAV Extension for IIS 7.0 must be installed on the server computer.

Related Content

Comments

Deploying Smooth Streaming Content" link is not yet available?

"Sorry, no results were found. It may help to:
Correct your spelling
TryTips for Finding Downloads
Try your search onMicrosoft.com Search
Try your search onLive Search
"

Feb 25 2009 by steenman

I am trying to debug an intermittent problem with a Silverlight client -> IIS Smooth streaming installation on my development web server.

A few times, lasting for say 12 hours, I have received an "InvalidOperationException" ".. network error" on multiple test machines / networks (home vs office). Then suddenly, whilst I was trying to diagnose the problem it started working again

Strangely, during the period where it wasn't working, the video was always working using the Expression test default.html running the same .ISM

Is there any guidance available for configuring IIS 7.0 optimally for Smooth Streaming. eg "Server cache settings", "Client cache settings" etc

Jun 02 2009 by rjempo

Explanation to use smooth streaming into the silverlight application is good. But I want to stream IIS 7 smooth streaming video in WPF application. Is it possible to do this?

If you give any suggestion that will really reduce my headache.

Sep 22 2009 by ganesan007

Explanation to use smooth streaming into the silverlight application is good. But I want to stream IIS 7 smooth streaming video in WPF application. Is it possible to do this?

If you give any suggestion that will really reduce my headache.

Sep 22 2009 by ganesan007

Submit a Comment

You must Log In to comment.