کد:
http://learn.iis.net/page.aspx/569/smooth-streaming-for-iis-70---managing-your-presentations/

Smooth Streaming for IIS 7.0 - Managing Your Presentations


  • Author: John Bocharov


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 and sample content, and to manage your content using IIS Manager. This document covers the following scenarios:

Prerequisites

The scenarios in this article require a Smooth Streaming server. Follow the steps in Smooth Streaming for IIS 7.0 - Getting Started to set up a Smooth Streaming server and deploy the Smooth Streaming sample content.
Viewing the Tracks in a Smooth Streaming Presentation

The Smooth Streaming Presentations page in IIS Manager is useful for displaying the Smooth Streaming presentation files in a directory at a glance. To open the Smooth Streaming Presentations page in IIS Manager, do the following:

  • In the Connections pane, click the directory where you deployed the sample content, and then in the Features View pane, under Media Services, double-click the Smooth Streaming Presentations icon.

As highlighted below, the Smooth Streaming Presentations page displays a summary of the video and audio bit rates available for each presentation.

Cloning a Smooth Streaming Presentation

To clone a Smooth Streaming presentation, select a presentation in the Smooth Streaming Presentations page (described in the previous section), and then in the Actions pane, click Clone.

In the Clone Presentation dialog box, enter a new name for the cloned presentation, (for example, Big Buck Bunny - Limited), and then click OK.

The cloned presentation is displayed in the Smooth Streaming Presentations page.

Cloning creates a version of a presentation that shares the presentation metadata without making a deep-copy of the media (.ismv) files. You can observe this behavior by selecting the Content View tab for the presentation in IIS Manager. The following figure shows that .ism and .ismc files have been created for the cloned presentation, and that the original and cloned presentations share the same set of media files.

To view the cloned presentation, do the following:

  1. Navigate your Web browser to http://localhost/Big_Buck_Bunny/Default.html.

    Note If you stored the sample content in a different content directory, substitute its URL for Big_Buck_Bunny. To view the content from a remote computer, substitute the server’s URL for localhost.
  2. In Presentation Name, enter Big Buck Bunny – Limited.
  3. In Silverlight Player, select User Experience Simulator.

Saving Bandwidth Costs by Limiting the Maximum Bit Rate

After you clone a presentation (described in the previous section), notice the highest bit rate value in the Bit Rate History panel in the Silverlight User Experience Simulator.

You can save bandwidth by removing the highest available bit rate for the presentation in IIS Manager. To do this, do the following:

  1. In the Connections pane, click the directory where you deployed the sample content, and then in the Features View pane, under Media Services, double-click the Smooth Streaming Presentations icon.
  2. In the Smooth Streaming Presentations page, select the Big Buck Bunny - Limited.ism presentation, and then, in the Actions pane, click Edit Smooth Stream.
  3. In the Smooth Streaming Presentation page that appears, perform the following actions to remove the highest bit rate from the presentation:

    a. Select the video track with the highest bit rate value (2436000).
    b. Click Remove.
    c. In the Actions pane, click Apply.
  4. Navigate your Web browser to http://localhost/Big_Buck_Bunny/Default.html.
    Note If you stored the sample content in a different content directory, substitute its URL for Big_Buck_Bunny. To view the content from a remote computer, substitute the server’s URL for localhost.
  5. In Presentation Name, enter Big Buck Bunny - Limited.
  6. In Silverlight Player, select User Experience Simulator.
  7. Verify that the highest bit rate value in the Bit Rate History panel in the Silverlight User Experience Simulator is lower.






موضوعات مشابه: