Iis Smooth Streaming And Media Delivery In Sl3

37

Transcript of Iis Smooth Streaming And Media Delivery In Sl3

Page 1: Iis Smooth Streaming And Media Delivery In Sl3
Page 2: Iis Smooth Streaming And Media Delivery In Sl3

IIS Media Services and Silverlight 3Redefining Online Multimedia Applications

Pandurang NayakClient Platform EvangelistMicrosoft Corporation

Page 3: Iis Smooth Streaming And Media Delivery In Sl3

Why are we here?

Understand how media delivery is done todayFind what is missing!

What is new in IIS 7 and Silverlight 3?Delivering existing content betterExploring new media delivery possibilities

Page 4: Iis Smooth Streaming And Media Delivery In Sl3

Media Delivery Today

Progressive Download

• Delivered via HTTP• Just requires a Web Server• File is downloaded and played (not necessarily sequentially)• Most online delivery via YouTube, MSN Soapbox, etc. uses this

Streaming

• Requires a streaming server solution (ex: Windows Media Services)• Streams are harder to “rip”• Requires a more complex setup for scaling out• Can do advanced features like multi-bitrate (MBR or VBR) streaming• Can integrate DRM and content protection technologies

Page 5: Iis Smooth Streaming And Media Delivery In Sl3

What this means?

Always a choice between Streaming: Higher cost, higher content safety, higher dexterityProgressive Download: Lower cost, lesser safety, lesser options

Difficult to plan for end-user bandwidthSame delivery might be consumed by multiple clients, some with low and some with high bandwidth

Buffering and QualityUsers want higher quality But not at the cost of higher buffering and delayTypical video on the Internet is still not “smooth”

Page 6: Iis Smooth Streaming And Media Delivery In Sl3

IIS Media Services Integrated Web/Media Platform on Windows Server

introducing

Page 7: Iis Smooth Streaming And Media Delivery In Sl3

IIS Media Services Strategy“Web media platform to deliver best-in-class user experience and rich monetization tools built on cacheable HTTP”

User experience that smoothly scales to true HDBest quality for the moment given network/CPUResponsive interactivity (instant start/seek)

Platform to make money on the webUser engagement tracking and rich reportingTechnology that scales to your business

Industry-leading scale at lowest costCacheable HTTP to align with Web infrastructure

Page 8: Iis Smooth Streaming And Media Delivery In Sl3

Why Use IIS Media Services?

Drive more site traffic and increase ad revenueAttract and retain viewers w/engaging experiencesMonetize by making more for each ad impression

Give your users the best playback experienceMake High-Definition (HD) on the Web a realityNever make your users wait for contentDeliver the right bits at the right time

Use platform components to monetize and scaleDeliver Media/Web content from the same serversTrack your users’ experience in real-timeScale out delivery with the needs of your business

Page 9: Iis Smooth Streaming And Media Delivery In Sl3

IIS Media Services

Intelligent Progressive Downloads

Smooth Streaming

Advanced Logging

Edge Caching

Page 10: Iis Smooth Streaming And Media Delivery In Sl3

Installing IIS Media Services via Web Platform Installer (PI)

demo

Page 11: Iis Smooth Streaming And Media Delivery In Sl3

Intelligent Progressive Download

Web Playlists

• Tokenized URLs in the media entries obfuscate the actual location of the content • Configurable client-side caching control• Define playlists to monetize media delivery by inserting “no-skip” in-stream or pre-roll video ads• Configurable server-side rules• Out-of-the box compatibility with the following media types: .asf, .avi, .flv, .m4v, .mov, .mp3, .mp4, .rm, .rmvb, .wma and .wmv

Bit Rate Throttling

• Reduce bandwidth costs without compromising end-user experience• Share extra bandwidth among all users with dynamic throttling (savings in 95th percentile “burstable billing” models)• Extend throttling to other content types

Page 12: Iis Smooth Streaming And Media Delivery In Sl3

Web Playlists: How does it work?

Page 13: Iis Smooth Streaming And Media Delivery In Sl3

Bit Rate Throttling

Page 14: Iis Smooth Streaming And Media Delivery In Sl3

Bit Rate Throttling in IIS 7demo

Page 15: Iis Smooth Streaming And Media Delivery In Sl3

Smooth Streaming

Smooth Streaming

• Adaptive streaming of media over HTTP• Scales massively on content distribution networks• True HD media experiences (720p/1080p) a reality• Supported by Expression Encoder

Live Smooth Streaming

• Takes advantage of existing HTTP networks and infrastructure• Extend engagement time with higher quality video• Live video rewind/fast-forward and “PVR” capabilities

Page 16: Iis Smooth Streaming And Media Delivery In Sl3

Streaming and Prog. Download

Traditional Streaming• Responsive User

Experience• Bandwidth Use• User Tracking

Progressive Download• Works from a

Web Server• World-wide

scale w/HTTP

Challenges• No cacheability• Separate,

smaller streaming networks

Challenges• Limited User

Experience• User tracking• Bandwidth Use

(20% watched)

Smooth Streaming:Best of both approaches

Traditional Streaming• Responsive User

Experience• Bandwidth Use• User Tracking

Progressive Download• Works from a Web

Server• World-wide scale

w/HTTP

Page 17: Iis Smooth Streaming And Media Delivery In Sl3

Movie

Media Delivery Approaches

Packet Packet Packet Packet Packet

Traditional Streaming

Smooth Streaming

Movie

Progressive Download

Play SeekPaus

e

Video @ 01:04?Video @ 01:06?

Video @ 01:08?

Page 18: Iis Smooth Streaming And Media Delivery In Sl3

The "Last Mile" Challenge

Edge Server

The “Last Mile” from Server to Client

Low BandwidthFast CPU

High BandwidthSlow CPU

“Best quality I can

download”

High Bandwidth Fast CPU

“Best quality I can

render”

“Best quality, period ”

Conditions change every second

Page 19: Iis Smooth Streaming And Media Delivery In Sl3

Adapting Bit Rate in Real-Time

2.4M

300K

Bit Rate Heuristics

300K @ 00:00?700K @ 00:02?

2.4M @ 00:04?1.5M @ 00:06?

2.4M @ 00:08?

00:00 00:02 00:04 00:06 00:08300K (start quickly)

700K (good network)2.4M (great network)

1.5M (glitch)2.4M (play on…)

Page 20: Iis Smooth Streaming And Media Delivery In Sl3

Solve the "Last Mile" Challenge

Smooth Streaming – adapt bit rate in real-timeBest experience possible for conditionsRight content at the right time

Give your users the best experienceVideo playback does not stopBest quality for network/CPU at any point in timeInstant start-up, instant seek

Leverage HTTP cache-abilityGet better QoS w/the reach of HTTP cachesSmart Client Heuristics self-correct video deliveryOne caching infrastructure (HTTP) not two

Page 21: Iis Smooth Streaming And Media Delivery In Sl3

IIS Smooth Streaming in actiondemo

Page 22: Iis Smooth Streaming And Media Delivery In Sl3

Top Asks for Smooth Streaming

Scaling to a growing audienceReporting, real-time monitoring, analyticsSupport for Live events with DVR

Page 23: Iis Smooth Streaming And Media Delivery In Sl3

Using a Streaming Network

Challenge: Scale(“The Day Live Web Video Streaming Failed Us”)

Media Origin

Media Edges

Page 24: Iis Smooth Streaming And Media Delivery In Sl3

Using an HTTP Delivery Network

HTTP Origin

HTTP Edge

Servers

Remote Region

HTTP Distribution

Servers

ISP

Enterprise

Page 25: Iis Smooth Streaming And Media Delivery In Sl3

Advanced Logging Server

Edge Server

User Experience Data

Smooth Streaming Live

Page 26: Iis Smooth Streaming And Media Delivery In Sl3

Using an HTTP Delivery Network

HTTP Origin

HTTP Edge

Servers

Remote Region

HTTP Distribution

Servers

ISP

Enterprise

Page 27: Iis Smooth Streaming And Media Delivery In Sl3

Using Smooth Streaming

Media Origin

Media Distribution

Servers

Media Edge

Servers

Page 28: Iis Smooth Streaming And Media Delivery In Sl3

IIS Live Smooth StreamingConfiguration and Sample Tools

demo

Page 29: Iis Smooth Streaming And Media Delivery In Sl3

Advanced Logging & Edge Caching

Advanced Logging

• Understand what your users really do with media• Real-time, flexible, rich logging and data collection• Custom Media Metrics support• Analytics Integration (Silverlight front-end coming soon!)

Edge Caching

• IIS Caches Smooth and Live Smooth Streaming content• Application Request Routing v2 introduces disk-based caching capabilities• Reduced costs by using HTTP Edge Caches (as opposed to Media Edge servers)

Page 30: Iis Smooth Streaming And Media Delivery In Sl3

Playback for Smooth Streaming

Expression Encoder 2 SP1

• Adaptive Encoding profile for Smooth Streaming• Player with client capabilities for Smooth Streaming• WebDAV publishing to IIS 7

Open Video Player

• Industry-standard player with several industry partners – Akamai, Microsoft, Adobe, Panache, EyeWonder, etc.

• Community project to share a common player code and best practices

Page 31: Iis Smooth Streaming And Media Delivery In Sl3

Expression Encoder 2 SP1Smooth Streaming Encoding

demo

Page 32: Iis Smooth Streaming And Media Delivery In Sl3

Related Content

<SHAMLESS-PLUG>

Next Session: Advanced Silverlight Topics Covered:1. Media Best Practices2. Performance Best Practices3. Understanding Silverlight rendering under the hoods

</SHAMLESS-PLUG>

Page 33: Iis Smooth Streaming And Media Delivery In Sl3

Session Resources

IIS Community Site: http://www.iis.net

IIS Media Services: http://www.iis.net/media

Silverlight: http://www.silverlight.net

Expression Encoder: http://www.microsoft.com/expression

Open Video Player: http://www.openvideoplayer.com

Page 34: Iis Smooth Streaming And Media Delivery In Sl3

Presenter Contact

Blog: http://www.thinkingMS.com/pandurang

Email: [email protected]

Page 35: Iis Smooth Streaming And Media Delivery In Sl3

धन्यवा�दઆભા�ર ধন্য�বা�দ

ਧੰ�ਨਵਾ�ਦ

ଧନ୍ୟ�ବା�ଦ

நன்றி�

ధన్య�వాదాలు� ಧನ್ಯ�ವಾ�ದಗಳು

നി�ങ്ങള്‍‌ക്ക്� നിന്ദി�

Page 36: Iis Smooth Streaming And Media Delivery In Sl3

question & answer

Page 37: Iis Smooth Streaming And Media Delivery In Sl3

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS,

IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.