You are on page 1of 11

DR.

L TON T H NG
A BETTER WAY TO READ A BETTER WAY TO SUCCESS
search

HOME CNG NGH V GIO DC CCH CI T S DNG IIS LIVE SMOOTH STREAMING
Cch ci t s dng IIS Live
Smooth Streaming

Rate This
The IIS Live Smooth Streaming extension for Internet Information Services (IIS)
allows you to set up a web server as a Live Smooth Streaming server that
delivers compelling, uninterrupted live video streams that instantly adjust quality
(bitrate) to match changing network and CPU conditions at the client.
Live Smooth Streaming enables adaptive streaming of live events to Smooth
Streaming-compatible clients, such as Microsoft Silverlight. Using HTTP to
deliver a live web broadcast leverages the scale of existing HTTP networks by
keeping content close to the user and making true HD (720p+) a realistic option
for web broadcasts. The additional advantage of using HTTP-based delivery for
live events is that the existing HTTP infrastructure provides much more
availability. For many popular live web broadcasts, content providers and content
distribution networks (CDNs) want to know how much capacity they can
dedicate on their resource-constrained streaming networks. By using their
primary HTTP networks, which are typically 10-to-20-times larger than their
streaming networks, they dont have to worry about maximizing network capacity
and limiting the number of users for live events.
A Live Smooth Streaming server sources content from Live Smooth Streaming-
capable encoders for delivery to Smooth-Streaming compatible clients. In
addition to Microsoft Expression Encoder, there are many third-party encoding
solutions available for encoding both live and on-demand Smooth Streaming
video in production environments. To help you determine which encoding
solution is best-suited for your Smooth Streaming configuration, see our list of
encoding parters.
In this walkthrough:
Setting Up a Live Smooth Streaming Web Server
Creating a Live Smooth Streaming Publishing Point
Pushing a Stream to the Live Smooth Streaming Publishing Point
Serving the Live Stream to Clients
Setting Up a Live Smooth Streaming Web Server
To install IIS Live Smooth Streaming, see the IIS Media Services Readme
Installation Notes. This walkthrough describes how to set up a Live Smooth
Streaming server using IIS Live Smooth Streaming in IIS Media Services 4.0, so
be sure to select this version of IIS Media Services for installation.
After installation is completed, to verify that the Live Smooth Streaming
extension is installed correctly, click the server name in the Connections pane
in IIS Manager and then locate the Live Smooth Streaming icon in the Media
Services area.
BI MI
Cch thm card mng NIC vo
gi ci ISO ca Hypervisor
ESXi 5.5 27/07/2014
Phn 4 Cu hnh iSCSI Initiator
dng trn nn windows 2003
25/07/2014
Ti sao phi tm bn v li
download v v ci ? 02/07/2014
Mt s li khi dng vMotion di
chuyn cc my VM gia cc
Host khi cc ESXi Host b vt
ti hoc li Physical 30/06/2014
Cch cu hnh kch hot SSH
port 22 v Shell ESXi khi mi ci
ESXi Hypervisor Nested
27/06/2014
PHN HI
thangletoan on Cch cu
hnh SM
Huynh Minh Tan on Cch
cu hnh SM
Mt s vn c bn
on Gii p mt s thc
m
Phm nh Khim on
Thng bo n
thangletoan on Thng bo
n
CHUYN
Biztalk Server Chnh
sch CNTT
Cng ngh
v Gio dc
EDI Framework Gic ng gio
dc Horizon Mirage Hi k ty
bt Live@edu Lp trnh VC#
Microsoft Microsoft VMware VMware IBM IBM Informix Informix Help 247 Help 247 Cng ngh Sinh hc Cng ngh Sinh hc Cng ngh v Gio dc Cng ngh v Gio dc Hi k ty bt Hi k ty bt Gii thiu v ti Gii thiu v ti
Cch ci t s dng IIS Live Smooth Streaming DR. L TON T H NG http://thangletoan.wordpress.com/2012/11/15/cch-ci-dat-su-dung-iis-liv...
1 of 11 7/30/2014 1:50 PM
Note If IIS Manager was running during the installation process, you might need
to restart it to see Live Smooth Streaming.
Creating a Live Smooth Streaming Publishing Point
This section describes how to create a publishing point that can accept a live
broadcast from a Live Smooth Streaming-capable encoder.
In IIS Manager, select the desired website or virtual directory, and then
double-click the Live Smooth Streaming Publishing Points icon.
1.
Microsoft Microsoft Office
Microsoft Office 365 Microsoft
SharePoint MS Biztalk Nhng
th phi nh - phi lm - khng v
la - con quy Pht gio Pht gio
cnh ca th 3 ca NGHIP
Programming RFID Server talk to
Server SharePoint 2010 Sng
v am m khoa hc
VMware VMware ESXi
VMware ESXi 5 VMware ESXi
host Windows Server 2008 R2 o
ho o ho VMware
TWITTER
Error: Twitter did not respond. Please
wait a few minutes and refresh this
page.
FLICKR PHOTOS
More Photos
Cch ci t s dng IIS Live Smooth Streaming DR. L TON T H NG http://thangletoan.wordpress.com/2012/11/15/cch-ci-dat-su-dung-iis-liv...
2 of 11 7/30/2014 1:50 PM
On the Live Smooth Streaming Publishing Points page, in the Actions
pane, click Add.
2.
In the Add Publishing Point dialog box, on the Basic Settings tab, enter
the following information:
File name. Enter a name for the Live Smooth Streaming publishing
point definition file. In this example and throughout the rest of this
walkthrough, well use the file name LiveSmoothStream. If you
specify a different file name, be sure to substitute it appropriately as
you follow the steps in this walkthrough.
Estimated duration. If known, enter the duration (in
hours:minutes:seconds) of the live event so that the Silverlight-based
client can scale its Seek bar to the length of the content. In our
example, we use an event duration of 1 hour (01:00:00).
Live source type. In our example, the Live Smooth Streaming
server is an origin server that receives the content thats pushed to
it from an encoder; therefore, we select the default Push option.
Note The Pull option for Live source type configures the publishing
point to pull content from a publishing point on another Live Smooth
Streaming server. This is a common configuration for content
syndication. For more information, see Syndicating Live Smooth
Streams between Servers.
3.
On the Advanced Settings tab, select the Start publishing point
automatically upon first client request check box. This setting allows an
encoder to connect to the publishing point when the broadcast starts.
Connection errors might occur if you dont enable this setting.
4.
Cch ci t s dng IIS Live Smooth Streaming DR. L TON T H NG http://thangletoan.wordpress.com/2012/11/15/cch-ci-dat-su-dung-iis-liv...
3 of 11 7/30/2014 1:50 PM
For more information about the additional settings that you can configure
on the Advanced Settings tab, see Add/Edit Publishing Point Dialog Box.
If you want to deliver live streams to Apple mobile digital devices, on the
Mobile Devices tab, select the Enable output to Apple mobile digital
devices check box.
Important Before proceeding, be sure to check out the the following
walkthrough article for more information about the requirements and
publishing point configuration for Apple HTTP Live Smooth Streaming:
Apple HTTP Live Streaming with IIS Media Services.
5.
In the Add Publishing Point dialog box, click OK. A new Live Smooth 6.
Cch ci t s dng IIS Live Smooth Streaming DR. L TON T H NG http://thangletoan.wordpress.com/2012/11/15/cch-ci-dat-su-dung-iis-liv...
4 of 11 7/30/2014 1:50 PM
Streaming publishing point definition file named LiveSmoothStream.isml
is added to the website root.
On the Live Smooth Streaming Publishing Points page, select the
publishing point, and then in the Actions pane, click Start Publishing
Point.
7.
The publishing point State value changes from Idle to Starting, which
means its waiting for external data (in this case, a live stream pushed to it
from an encoder).
Because we havent configured an encoder to push live streams to the
publishing point yet, the Publishing Point Summary panel shows that
there are no incoming streams.
Note The Summary panel for Live Smooth Streaming publishing points in
IIS Media Services 4 displays summary information about the live Smooth
Streams that are received from all live sources (such as encoders or other
Live Smooth Streaming publishing points) by the selected publishing point.
You can also view details about the tracks within all of the live streams,
and stream origin and destination information, in the Publishing Point
Details page. For more information, see Viewing Publishing Point Details.
Note After the publishing point begins receiving data from an encoder, its
State value changes to Started. However, due to a known issue, the
change in the State value isnt visible until after you refresh the Live
Smooth Streaming Publishing Points page in IIS Manager.
8.
See the next section, which describes how to configure Microsoft
Expression Encoder to push data to this publishing point.
9.
Pushing a Stream to the Live Smooth Streaming Publishing
Point
This section describes how to create a Live Smooth Streaming broadcast in
Microsoft Expression Encoder 4 and push it to the Live Smooth Streaming
Cch ci t s dng IIS Live Smooth Streaming DR. L TON T H NG http://thangletoan.wordpress.com/2012/11/15/cch-ci-dat-su-dung-iis-liv...
5 of 11 7/30/2014 1:50 PM
publishing point that you configured in the previous section. The steps in this
section outline a general workflow, with details only on the specific tasks that you
need to create Live Smooth Streaming output. For detailed information about
how to create a live broadcast from various live and file-based sources in
Expression Encoder 4, including how to assemble a complete program, encode
it, encrypt it with Digital Rights Management (DRM), and instantly distribute it to
your audience using Smooth Streaming technology, see Creating a Live
Broadcasting Project.
Important If you enabled the publishing point to stream content to Apple
devices, such as iPhone and iPad devices, be sure to review the encoding
requirements and settings outlined in Apple HTTP Live Streaming with IIS Media
Services.
Note Live Smooth Streaming is available only in Microsoft Expression Encoder
Pro.
Start Expression Encoder (click Start > All Programs > Microsoft
Expression > Microsoft Expression Encoder 4).
1.
In the Load a new project dialog box, select Live Broadcasting Project. 2.
Set up the source to use for your live broadcast. For File Sources, you can
use audio or video sources in any file format that Expression Encoder can
import. For Live Sources, you can connect multiple camera devices, such
as USB webcams or FireWire (IEEE 1394) digital video cameras. Although
you can connect multiple live sources, you can stream only one at a time.
3.
On the Presets tab, choose an encoding preset that supports the bit rates
and encoding requirements for your Live Smooth Streaming scenario. Be
sure to choose a preset with IIS Smooth Streaming in the preset name,
and then click Apply.
4.
Cch ci t s dng IIS Live Smooth Streaming DR. L TON T H NG http://thangletoan.wordpress.com/2012/11/15/cch-ci-dat-su-dung-iis-liv...
6 of 11 7/30/2014 1:50 PM
To find out more information about a preset, such as the numbers of
streams in the output and the codecs used, hover your mouse pointer over
a preset name. The preset information is displayed in a box.
Note Clicking the Apply button automatically updates the Output Format,
Video, and Audio settings on the Encode tab with the values used by the
selected preset.
You can choose to not select a preset and specify your own values for the
Output Format, Video, and Audio options on the Encode tab instead.
On the Output tab, if the Streaming check box is present, select it to
activate streaming.
To publish your content, select Publishing Point, and then in the
Location box, type the URL of the Live Smooth Smooth Streaming
publishing point that you want to publish your live broadcast to.
URL syntax: http://ServerName/SiteName/DirectoryName
/PublishingPointDefinitionFileName.isml
For the example Live Smooth Streaming publishing point that we created
in the previous section, the URL would be:
http://IISMedia-Server/LiveSmoothStream.isml
Note You can click the Connect button to test the connection to the
publishing point after you specify its URL in the Location box. The
publishing point must be started for the connection to be validated.
5.
If you want to add Digital Rights Management (DRM) to your content,
select Digital Rights Management on the Output tab, and then specify
DRM options. For more information, see Set DRM options.
Note The license provided for a Live Smooth Streaming session is
non-persistent, meaning that after the user closes the client application
being used to view the web broadcast, the license expires.
Important You shouldnt use the DRM setting if you want to stream the
content to Apple devices. To provide protected content to Apple devices,
you can configure the Live Smooth Streaming publishing point to encrypt
the content by using the Advanced Encryption Standard (AES) with a
6.
Cch ci t s dng IIS Live Smooth Streaming DR. L TON T H NG http://thangletoan.wordpress.com/2012/11/15/cch-ci-dat-su-dung-iis-liv...
7 of 11 7/30/2014 1:50 PM
128-bit key. For more information about how to configure Apple AES-128
encryption, see Add/Edit Publishing Point Dialog Box.
Click Cue to enable your source for broadcasting (a cued file source is
shown in the following figure)
and then click Start to begin your live broadcast.
As the broadcast runs, you can monitor Statistics and Connections data in
the corresponding panels.
7.
Serving the Live Stream to Clients
This section describes how to use the Microsoft Silverlight Media Framework 2.0
SmoothStreamingPlayer.XAP, a sample player that can easily be embedded in
your website to enable client playback of Smooth Streaming media.
Important Apple devices use an HTML 5 webpage to play the Live Smooth
Streaming presentation. If you enabled the publishing point to stream content to
Apple devices, see Creating an HTML 5 page for use in Safari.
Note The latest version of Microsoft Silverlight must be installed on the client
computer that you want to use to observe Live Smooth Streaming.
On the web server, click the following link to download the sample player
executable file: SmoothStreamingPlayer.exe.
1.
To extract the sample player files immediately, click Run.
-or-
To copy the sample player files to your web server in order to extract them
at a later time, click Save, and then open the file from the saved location.
2.
When you are prompted for a location to store the extracted sample player
files, enter the directory path of a temporary folder on your desktop. For
example:
3.
Open the temporary desktop folder, review the terms in the End User
License Agreement (EULA) file, and then right-click the zipped folder and
click Extract All to extract the sample player files.
4.
Cch ci t s dng IIS Live Smooth Streaming DR. L TON T H NG http://thangletoan.wordpress.com/2012/11/15/cch-ci-dat-su-dung-iis-liv...
8 of 11 7/30/2014 1:50 PM
When you are asked to select the destination folder to which the sample
player files will be extracted, select a website or virtual directory that you
want to use for client access to the live broadcast. In our example, we
extract the files to the default website, which also contains the Live
Smooth Streaming publishing point definition file (LiveSmoothStream.isml).
5.
To view the sample player files, in IIS Manager, open the website or virtual
directory in Content View.
The following files are included in the download:
Smooth Streaming Player-ReadMe.doc. Configuration instructions.
SmoothStreamingPlayer.html. A sample webpage in which you
must update the media reference to your live broadcast, and if
necessary, width and height attributes to achieve a presentation size
that fits your website design.
6.
Cch ci t s dng IIS Live Smooth Streaming DR. L TON T H NG http://thangletoan.wordpress.com/2012/11/15/cch-ci-dat-su-dung-iis-liv...
9 of 11 7/30/2014 1:50 PM
PUBLISHED: BN TIN MICROSOFT
LIVE@EDU VIETNAM
KHA O TO: THIT K CC GII PHP KINH
DOANH THNG MINH VI MICROSOFT SQL
SERVER 2012
SmoothStreamingPlayer.xap. A sample Smooth Streaming player.
In a text editor, such as Notepad, open SmoothStreamingPlayer.html and
update the mediaurl attribute value with the fully qualified URL of the Live
Smooth Streaming publishing point definition (.isml) file. In our example,
this is:
http://IISMedia-Server/LiveSmoothStream.isml/manifest
If necessary, also update the width and height attributes to appropriate
values for your website design. For complete instructions, see the Readme
file (Smooth Streaming Player-ReadMe.doc).
7.
In a web browser on the client computer, download the sample webpage
from the web server and begin viewing the stream. In our example, in the
web browser address bar, type http://IISMedia-Server
/SmoothStreamingPlayer.html.
The Live Smooth Streaming broadcast opens in the web browser, using
the Silverlight browser plug-in for Live Smooth Streaming.
8.
For more information about how to to build rich Silverlight user experiences that
take full advantage of live and on-demand IIS Smooth Streaming capabilities,
see Smooth Streaming Client.
TAGS: IIS MEDIA SERVICES, LIVE BROADCASTING, MICROSOFT
BY THANGLETOAN IN CNG NGH V GIO DC, CDNS, CHNH SCH CNTT, EXPRESSION ENCODER, ICT
& PHT TRIN RICH MEDIA CONTENT, IIS MEDIA SERVICES, LIVE BROADCASTING, LIVE MEDIA STREAMING,
LIVE SMOOTH STREAMS, LIVE STREAMING, LIVE TV, MICROSOFT, MICROSOFT EXPRESSION ENCODER,
MICROSOFT IIS LIVE STREAMING, MICROSOFT LIVE SMOOTH, MICROSOFT SILVERLIGHT ON 15/11/2012.

Be the first to like this.
Related
Cch ci t s dng IIS Live Smooth Streaming DR. L TON T H NG http://thangletoan.wordpress.com/2012/11/15/cch-ci-dat-su-dung-iis-liv...
10 of 11 7/30/2014 1:50 PM
1 Comment
Leave a Reply
S LT TRUY CP
38,710 hits
TC GI
thangletoan
NG NHP
Register
Log in
Entries RSS
Comments RSS
Create a free website or blog at WordPress.com.
Hi k ty bt Sng v am m khoa hc Gic ng gio dc Pht gio cnh ca th 3 ca NGHIP Gii thiu v
ti
Create a free website or blog at WordPress.com. / The Academica Theme.
learn more
18/05/2013 AT 5:39 AM
REPLY
Cch ci t s dng IIS Live Smooth Streaming DR. L TON T H NG http://thangletoan.wordpress.com/2012/11/15/cch-ci-dat-su-dung-iis-liv...
11 of 11 7/30/2014 1:50 PM

You might also like