How to configure IIS Smooth Streaming in SDK demo application? +

Currently IIS Smooth Streaming supported in Video Capture SDK .Net and Video Edit SDK .Net.

First, you must configure IIS server to support Smooth Streaming. 

1. Install Web Platform Installer - https://www.microsoft.com/web/downloads/platform.aspx .

2. Install IIS Media Services.

3. Open IIS Manager.

4. Open Live Smooth Streaming Publishing Points item. Add point.

5. Configure name like shown on screenshot.

6. Configure additional parameters. Enable checkbox like shown on picture.

7. Enable playback on mobile devices.

8. Download Smooth Streaming Player Silverlight control, provided by Microsoft. Unpack it. Copy .xap file to website folder (c:\inetpub\wwwroot\ by default), copy .html and rename to index.html. Open in text editor, replace initparams to <param name="InitParams" value="mediaurl=http://localhost/LiveSmoothStream.isml/manifest" />

9. Start publishing point.

10. Configure streaming settings in demo application. You must enable network streaming, specify Smooth Streaming to use, set publishing point URL. Start playback.

11. Now you can see that our SDK connected to IIS. 

12. Open http://localhost/ in Internet Explorer.

For HTML5 streaming to iOS devices made the following HTML file.

<html>
    <head>
        <title>iPhone live streaming page</title>
    </head>
    <body>
        <h1>Live stream.</h1>
        
        <video width="640" 
               height="480" 
               src="LiveSmoothStream.isml/manifest(format=m3u8-aapl).m3u8" 
               poster="MyPosterFrame.png" 
               autoplay="true" 
               controls="true" >Live</video> 
    </body>
</html>

VisioForge © 2006-2019

  • GitHub-Mark-64px
  • Twitter Социальные Иконка
  • VisioForge Facebook page
  • YouTube channel