SlideShare a Scribd company logo
1 of 32
Download to read offline
Ultra-Low Latency
Streaming for OTTtv
CONFIDENTIAL© 2017 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary.
Content DeliveryWorld Summit
WOWZA MAKES VIDEO UBIQUITOUS
© 2017 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary.
20,000+ CUSTOMERS IN 170+ COUNTRIES FROM THE WORLD’S MOST
SOPHISTICATED MEDIA, TELCO, AND TECH COMPANIES TO SMALL BUSINESSES & DEVELOPERS
SERVICE PROVIDERS
ENTERPRISE &
GOVERNMENT
EDUCATION
Video comprised 64% of
global internet traffic in 2014
and will reach 80% by 2019
94% of young executives say
video breaks down language
barriers in the global market
Viewers of sports on
mobile devices` doubled
from 2011 to 2015
66% of university
respondents said streaming
is a top strategic initiative
~40% OF CDNS
WORLDWIDE RUN
WOWZA
70+ PERCENT OF
GARTNER’S ENTERPRISE
VIDEO QUADRANT
RUNS WOWZA
EVERY MINOR LEAGUE
BASEBALL GAME RUNS
ON WOWZA
85% OF THE TOP 25 U.S.
UNIVERSITIES, WITH 100%
OF IVY LEAGUE RUN
WOWZA
EVERYONE
Houses of
Worship
Transportation
Public Safety
Public Transit
Medical
Security
Armed Services
20,000 customers across all
industries build on Wowza for
video & audio
SPORTS
Powering Leading-Edge Broadcasting
© 2017 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary.
© 2016 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary.
THE SOFTWARE BEHIND THE STREAMING REVOLUTION
• END-TO-END VIDEO & AUDIO WORKFLOW
• DEEP DEVELOPER INTEGRATION VIA API, IDE, SDK
• ENORMOUS GLOBAL CUSTOMER BASE
• STRATEGIC TO ALL CLOUD PLATFORMS
450 Million
Live Viewing Hours per Month
20,000
Paying Customers
43 Million
Live Broadcasts per Year
(not including social media)
OVER 25%
OF WORLDWIDE LIVE STREAMING
WOWZA POWERS
345,000
Hours of Live
Transcoding per Day
WHAT IS LATENCY?
Latency is a time interval between the stimulation and response, or, from a
more general point of view, a time delay between the cause and the effect of
some physical change in the system being observed.
In terms of streaming, latency is the delay between the initial capture of the
video and the viewer.
TERMS
• Time to first frame - Time delay from when a person clicks the play button
and when video appears
• Broadcast Delay – The practice of intentionally delaying the broadcast of live
material to prevent profanity, bloopers, or violence
• Quality - Higher quality = higher resolution = more data to send
• Scale - How many inputs/participants, how far, how many viewers
• Bandwidth - How much traffic can the infrastructure ideally handle
• Throughput - How much traffic is the infrastructure really delivering
• Bitrate - How many bits of data are being processed over time
LATENCY ADDS UP
© 2017 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary.
The video streaming industry solved for scale, but sacrificed latency. Now we need the best of both worlds.
Success Depends on a Usable Experience
© 2017 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary.
An interactive and social gaming audience
Synchronized streams for a “live” experience
Betting with near-real time information
Requires	imperceptible	delay	
where	up	to	the	second	
information	means	winning	
or	losing.
Requires	the	coordination	
between	two	delivery	
systems	so	the	audience	
experience	is	seamless.
Requires	near-real	time	
viewing	so	an	audience	can	
actively	participate	or	interact	
with	the	gaming	experience.
STREAMING LATENCY
© 2017 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary.
WHY IS LATENCY A PROBLEM?
• Latency is not usually a problem – but people think it is.
• For many (or possibly most) live streams, latency does not matter.
• HTTP streaming intentionally introduces latency for improved reliability.
For some live streams, latency is critical.
Ultra-Low Latency Demo
WHAT FACTORS IMPACT LATENCY?
1. Quality
• Resolution
• Two-way
• Multi-thread
• Frame rate
• Smooth playback
• Chunk/Block Size
• Buffering
2. Scale
• Distance
• Participants
• Viewers
• Streams
• Complexity
• Variability
• Diverse endpoints
Low	
Latency
Large		
Scale
High	
Quality
As either (or both) increase latency increases
HOW QUALITY INJECTS LATENCY?
• Higher quality = higher resolution = more data to send.
• Resolution increases the amount of data in any frame, block, chunk or time
slice. If we hold infrastructure constant as resolution goes up the window and
latency to deliver a segment increases.
• Trade-offs: Some mitigation techniques:
Increasing Throughput
Increasing throughput with
more bandwidth(network)
and bitrate(compute) = More
infrastructure, more
overhead, more cost
Reducing Buffer
Reducing the buffer requirement will
reduce latency but it also makes
network fluctuations more visible to
the viewer – e.g. a 1ms buffer
ideally means content can be
viewed as little as 1ms after capture
but a 0.1-second network
interruption will result in 100 buffer
segments being un-recoverable in a
live stream.
Reducing Framerate
Reducing the (frame rate) number of
frames per second reduces the
smoothness of the viewing
experience – e.g. 15 fps is generally
a good viewing experience for low
movement broadcasts like
presentation screen capture/sharing
or many church services, it will
produce a choppy experience for
viewing sports
HOW SCALE INJECTS LATENCY?
• Scale increases distances, complexity and variability.
• As distance, the number of streams, and viewers increase, network
imperfections, variability, and degradation increase and can amplify latency.
• Trade-offs: Some mitigation techniques:
Increasing Throughput
Increasing throughput with
more bandwidth(network)
and bitrate(compute) = More
infrastructure, more
complexity, more overhead,
more cost
Increasing Buffer
Increasing buffer size adds ability
for both encoders, transcoders and
players to deal with variability
smoothly but increasing buffer
inherently increases latency. By
definition, buffer size is the
minimum amount of data for which a
process can be initiated. If more
data must be accumulated, then
processing will take longer.
TCP vs UDP
Because it is a lighter weight protocol
without error checking, monitoring,
order of messaging and headers
roughly 1/3 the size of TCP, UDP is
inherently faster but there is no
guarantee data is received.
WHERE STREAMING LATENCY HAS BEEN
Windows Media
• MMS, RTSP, HTTP (using UDP or TCP)
• Encoder, Server, and Player buffer size
management
• “Low delay” audio codecs
• Fast Start, Advanced Fast Start, Fast
Recovery, Fast Reconnect, FEC
• 2-3 seconds (on a good network)
Real Time Streaming Protocol (RTSP)
• Developed and by RealNetworks
• Relies on RTP and RTCP
• Frames can be sent one at a time
in real time
• Can leverage UDP
• Potential latency could be as low
as ~125 ms with minimal buffering
Real Time Messaging Protocol (RTMP)
• Developed & open sourced by Adobe
• 1-3 seconds and sub-1 second
HTTP
• Apple HLS
• 30+ seconds on iOS
• Using 10 second chunk sizes
• MPEG-DASH
• 10-20 seconds (variable)
WHERE LATENCY IS GOING
WebRTC
• Designed for real-time audio, video
and data delivery over less-reliable
connections
• Leverages TCP or UDP
• Multiple protocols related to
RTSP/RTP
• 1 second or less (as low as 200 ms)
WebSocket
• Designed to provide a standardized,
two-way, reliable communications
channel between a browser and a
server
• Works with TCP
• Can be used with other streaming
protocols including RTMP, WebRTC,
Haivision SRT, Wowza WOWZ and
Aspera FASP
• As low as 200 ms
WHERE LATENCY IS GOING
HTTP
• Below 4 seconds (using 1 second chunks) for DASH
• Optimizing DASH MPD attributes (availabilityStartTime and minBufferTime)
• Below 8 seconds (using 2 second chunks) for HLS (includes GOP
adjustments as well)
• CMAF + HTTP/1.1 (using HTTP Chunked Transfer Coding) enables video
transfer, decode, and display before the end of the chunk encoding
• Video encoding enhancements that do not impact decoding (H.264 GDR)
WHERE LATENCY IS GOING
Quick UDP Internet Connections (QUIC)
• Uses UDP (with TCP fallback)
• Focuses on security and reliability
• Tries to be like TCP while reducing
connect and round trip times, packet
loss, congestion control, and more
using intelligent retransmissions and
storage and delivery of information
• Built with HTTP/2 in mind
Secure Reliable Transport (SRT)
• A video transport protocol that
enables the delivery of high-
quality and secure, low-latency
video across the public Internet
• Designed to deliver the best
quality live video over the worst
networks
• Accounts for packet loss, jitter,
and fluctuating bandwidth while
maximizing quality
WHERE LATENCY IS GOING
Wowza Streaming Cloud Ultra Low Latency Service
• A cloud-based, highly scalable streaming service
• Using Wowza WOWZ + WebSocket in an origin-edge architecture
• Sub 2 seconds end-to-end (origin to player)
• Completely API-driven, no user-interface
Features include:
• Scaled Origin Network
• Scaled Edge network
• Playback components: SDK for browser and native apps on mobile
• Publishing and playback security
• Basic Analytics
• Recording
Mid tier EdgeOrigin
{ }Analytics
Live encoderIP camera
REST APIPull distribution Push distribution
Push distribution
WOWZA ULTRA LOW LATENCY SERVICE
REDUCING WORKFLOW COMPONENT LATENCY
Think about latency at every step
• Content creation (codec, bitrate, resolution)
• Streaming workflow and devices
• Buffer management (encoder, player)
• Network considerations
• How you optimize delivery (protocol, transport layer)
• How you reach your audience (size, location, and quality)
WebRTC and WebSocket can scale using traditional origin/mid-tier/edge
configurations (still requires “aware” clients)
CDNs are investigating options to enable low latency through their networks
• “Tuned” HTTP is a front runner
MEASURING LATENCY
• This is not easy (especially at scale)
• Latency is commonly measured in seconds (or milliseconds) though some
prefer frames
• A visual test is easy but requires accurate clocks (synchronized using
“reliable” NTP servers)
• For “traditional” streaming protocols, markers in the stream can be used
©	2017	Wowza	Media	Systems,	LLC.	All	rights	reserved.	Confidential	&	 Proprietary
Network	Characteristic	that	KILL	real	time	video
Ø Packet	loss	– packets	being	discarded	by	routers
Ø Jitter – packets	arriving	at	different	times	than	expected
Ø Delay – the	time	from	sender	to	receiver
Ø Bandwidth – the	fluctuating	capacity	between	points
Overcoming	Adverse	Network	Conditions
©	2017	Wowza	Media	Systems,	LLC.	All	rights	reserved.	Confidential	&	 Proprietary
SRT	Fundamentals	
Source Destination
SRT	Workflow
AWS
AWS
©	2017	Wowza	Media	Systems,	LLC.	All	rights	reserved.	Confidential	&	 Proprietary
SRT	Fundamentals	
bps
t
Constant	frame	rate
Encoder	Variable	Bitrate
Unreliable	“Dirty" Network
Packet	Loss,	Network	Jitter,
Variable	Delay,	Bandwidth	Fluctuation
t
Erratic bitrate	and frame	rate
Decoder’s	Worst	Nightmare!
SRT	Fundamentals
©	2017	Wowza	Media	Systems,	LLC.	All	rights	reserved.	Confidential	&	 Proprietary
bps
t
Constant	frame	rate
Encoder	Variable	Bitrate
t
Reconstructed	video	frame	rate
Much	Happier	Decoder	J
Sender
Buffer
Receiver
Buffer
Encapsulation	& Network	Time	Stamps
Feedback
SRT	Fundamentals	
SRT	Fundamentals
©	2017	Wowza	Media	Systems,	LLC.	All	rights	reserved.	Confidential	&	 Proprietary
bps
t
Constant	frame	rate
Encoder	Variable	Bitrate
t
Reconstructed	video	frame	rate
Much	Happier	Decoder	Jü Video
ü Audio
ü Metadata
ü Packet	acknowledgement	– error	recovery
ü Timing	– low	latency	streaming
ü Network	connection	characteristics
ü Bi-directional
ü Firewall	Friendly
SRT	Fundamentals	
SRT	Fundamentals
©	2017	Wowza	Media	Systems,	LLC.	All	rights	reserved.	Confidential	&	 Proprietary
SRT	Fundamentals	
SRT	Demo
SRT	in	Wowza	Streaming Engine
Ø Greater	reliability	of	throughput	and	packet	loss
Ø Improved	bandwidth	utilization	with	network	bandwidth	fluctuations	&	long-haul	video	transport
RESULTS	- Germany	to	Australia,	using	a	consumer	DSL	connection:	
• 7.5x	increase	of	throughput	with	SRT,	compared	to	RTMP	connections	over	TCP.
• RTMP:	800/10,000	kbits throughput
• SRT:	and	6000/10,000	kbits throughput
Ø Independent	security	/	encryption
Ø Minimized	buffer	4x	RTT	(re-transmission	time)
Ø Logic	for	packet	loss	recovery	and	jitter	only	requires	4	x	the	network	latency	to	the	server
Ø Wide	adoption:	free	open	source,	known	&	trusted
SRT	in	Wowza	Streaming	Engine	Wowza	Streaming EngineSRT	Fundamentals	
Benefits	of	SRT	|	Results
SRT	Alliance Members
Members
© 2015 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary.
“Wowza” and other identified trademarks are either registered or claimed trademarks of Wowza Media Systems, LLC;
visit wowza.com/legal/trademarks for more information. Third-party trademarks are property of their respective owners;
their use does not imply endorsement of Wowza products or services by the trademark owner.
www.twitter.com/wowzamedia
www.youtube.com/user/wowzamediawww.facebook.com/wowza
www.plus.google.com/+wowza/posts
www.linkedin.com/company/wowza-media-systems
WWW.WOWZA.COM

More Related Content

What's hot

Video Streaming - 4.ppt
Video Streaming - 4.pptVideo Streaming - 4.ppt
Video Streaming - 4.pptVideoguy
 
Mqtt – a protocol for the internet of things
Mqtt – a protocol for the internet of thingsMqtt – a protocol for the internet of things
Mqtt – a protocol for the internet of thingsRahul Gupta
 
Major Project: Image editor (1.2)
Major Project: Image editor (1.2)Major Project: Image editor (1.2)
Major Project: Image editor (1.2)Manikant Bhardwaj
 
Video compression
Video compressionVideo compression
Video compressionDarkNight14
 
Introduction to WebRTC
Introduction to WebRTCIntroduction to WebRTC
Introduction to WebRTCArt Matsak
 
Multimedia Networking
Multimedia NetworkingMultimedia Networking
Multimedia NetworkingAhmed Gad
 
Adobe premiere pro cs6
Adobe premiere pro cs6Adobe premiere pro cs6
Adobe premiere pro cs6K-M1
 
WebRTC overview
WebRTC overviewWebRTC overview
WebRTC overviewRouyun Pan
 
Introduction to MQTT
Introduction to MQTTIntroduction to MQTT
Introduction to MQTTEMQ
 
Implementing WCAG 2.2 into Your Digital Strategy
Implementing WCAG 2.2 into Your Digital StrategyImplementing WCAG 2.2 into Your Digital Strategy
Implementing WCAG 2.2 into Your Digital Strategy3Play Media
 
Digitizing and Delivering Audio and Video
Digitizing and Delivering Audio and VideoDigitizing and Delivering Audio and Video
Digitizing and Delivering Audio and VideoJenn Riley
 
Multimedia System & Design Ch 7 multimedia skills
Multimedia System & Design Ch 7 multimedia skillsMultimedia System & Design Ch 7 multimedia skills
Multimedia System & Design Ch 7 multimedia skillsBadar Waseer
 
MQTT - A practical protocol for the Internet of Things
MQTT - A practical protocol for the Internet of ThingsMQTT - A practical protocol for the Internet of Things
MQTT - A practical protocol for the Internet of ThingsBryan Boyd
 

What's hot (20)

Video Streaming - 4.ppt
Video Streaming - 4.pptVideo Streaming - 4.ppt
Video Streaming - 4.ppt
 
H.263 Video Codec
H.263 Video CodecH.263 Video Codec
H.263 Video Codec
 
Mqtt – a protocol for the internet of things
Mqtt – a protocol for the internet of thingsMqtt – a protocol for the internet of things
Mqtt – a protocol for the internet of things
 
Major Project: Image editor (1.2)
Major Project: Image editor (1.2)Major Project: Image editor (1.2)
Major Project: Image editor (1.2)
 
Multimedia chapter 2
Multimedia chapter 2Multimedia chapter 2
Multimedia chapter 2
 
Video compression
Video compressionVideo compression
Video compression
 
Introduction to WebRTC
Introduction to WebRTCIntroduction to WebRTC
Introduction to WebRTC
 
Multimedia Networking
Multimedia NetworkingMultimedia Networking
Multimedia Networking
 
Careers in Multimedia
Careers in MultimediaCareers in Multimedia
Careers in Multimedia
 
Adobe premiere pro cs6
Adobe premiere pro cs6Adobe premiere pro cs6
Adobe premiere pro cs6
 
MQTT
MQTTMQTT
MQTT
 
WebRTC presentation
WebRTC presentationWebRTC presentation
WebRTC presentation
 
Media streaming
Media streamingMedia streaming
Media streaming
 
WebRTC overview
WebRTC overviewWebRTC overview
WebRTC overview
 
Introduction to MQTT
Introduction to MQTTIntroduction to MQTT
Introduction to MQTT
 
Implementing WCAG 2.2 into Your Digital Strategy
Implementing WCAG 2.2 into Your Digital StrategyImplementing WCAG 2.2 into Your Digital Strategy
Implementing WCAG 2.2 into Your Digital Strategy
 
Video editor
Video editorVideo editor
Video editor
 
Digitizing and Delivering Audio and Video
Digitizing and Delivering Audio and VideoDigitizing and Delivering Audio and Video
Digitizing and Delivering Audio and Video
 
Multimedia System & Design Ch 7 multimedia skills
Multimedia System & Design Ch 7 multimedia skillsMultimedia System & Design Ch 7 multimedia skills
Multimedia System & Design Ch 7 multimedia skills
 
MQTT - A practical protocol for the Internet of Things
MQTT - A practical protocol for the Internet of ThingsMQTT - A practical protocol for the Internet of Things
MQTT - A practical protocol for the Internet of Things
 

Similar to Wowza Ultra-Low Latency Streaming

ENSA_Module_9-QoS Concept.pptx
ENSA_Module_9-QoS Concept.pptxENSA_Module_9-QoS Concept.pptx
ENSA_Module_9-QoS Concept.pptxZikoSuryaLesmana
 
Video Streaming
Video StreamingVideo Streaming
Video StreamingVideoguy
 
Inlet Technologies - Powering Smooth Streaming
Inlet Technologies - Powering Smooth StreamingInlet Technologies - Powering Smooth Streaming
Inlet Technologies - Powering Smooth StreamingSematron UK Ltd
 
bitdash - Simple & Easy MPEG-DASH Player for Web and Mobile
bitdash - Simple & Easy MPEG-DASH Player for Web and Mobilebitdash - Simple & Easy MPEG-DASH Player for Web and Mobile
bitdash - Simple & Easy MPEG-DASH Player for Web and MobileBitmovin Inc
 
AWS re:Invent - Med305 Achieving consistently high throughput for very large ...
AWS re:Invent - Med305 Achieving consistently high throughput for very large ...AWS re:Invent - Med305 Achieving consistently high throughput for very large ...
AWS re:Invent - Med305 Achieving consistently high throughput for very large ...asperasoft
 
The OTT Challenge - Eric Leung
The OTT Challenge - Eric LeungThe OTT Challenge - Eric Leung
The OTT Challenge - Eric LeungMyNOG
 
6. QoS Concepts.pdf
6. QoS Concepts.pdf6. QoS Concepts.pdf
6. QoS Concepts.pdfyohansurya2
 
WiZE Streaming Vs Downloading
WiZE  Streaming Vs DownloadingWiZE  Streaming Vs Downloading
WiZE Streaming Vs Downloadingmaharastaman
 
Download presentation source
Download presentation sourceDownload presentation source
Download presentation sourceVideoguy
 
Voice Over IP (VoIP) and STREAMING
Voice Over IP (VoIP) and STREAMINGVoice Over IP (VoIP) and STREAMING
Voice Over IP (VoIP) and STREAMINGRagheb Gmira
 
VoIP Monitoring and Troubleshooting
VoIP Monitoring and TroubleshootingVoIP Monitoring and Troubleshooting
VoIP Monitoring and TroubleshootingThousandEyes
 
Monitoring whole mpeg transport stream
Monitoring whole mpeg transport streamMonitoring whole mpeg transport stream
Monitoring whole mpeg transport streamVolicon
 
(MED305) Achieving Consistently High Throughput for Very Large Data Transfers...
(MED305) Achieving Consistently High Throughput for Very Large Data Transfers...(MED305) Achieving Consistently High Throughput for Very Large Data Transfers...
(MED305) Achieving Consistently High Throughput for Very Large Data Transfers...Amazon Web Services
 
Best practices for live streaming
Best practices for live streamingBest practices for live streaming
Best practices for live streamingAlden Fertig
 
Deployment of the nanoCDN solution with an operator
Deployment of the nanoCDN solution with an operatorDeployment of the nanoCDN solution with an operator
Deployment of the nanoCDN solution with an operatorNicolas Weil
 
“What Every Digital TV Executive Needs to Know About Adaptive Rate Streaming...
 “What Every Digital TV Executive Needs to Know About Adaptive Rate Streaming... “What Every Digital TV Executive Needs to Know About Adaptive Rate Streaming...
“What Every Digital TV Executive Needs to Know About Adaptive Rate Streaming...Verimatrix
 

Similar to Wowza Ultra-Low Latency Streaming (20)

ENSA_Module_9-QoS Concept.pptx
ENSA_Module_9-QoS Concept.pptxENSA_Module_9-QoS Concept.pptx
ENSA_Module_9-QoS Concept.pptx
 
Video Streaming
Video StreamingVideo Streaming
Video Streaming
 
Audio And Video Over Internet
Audio And Video Over InternetAudio And Video Over Internet
Audio And Video Over Internet
 
Inlet Technologies - Powering Smooth Streaming
Inlet Technologies - Powering Smooth StreamingInlet Technologies - Powering Smooth Streaming
Inlet Technologies - Powering Smooth Streaming
 
Computer Networking
Computer NetworkingComputer Networking
Computer Networking
 
bitdash - Simple & Easy MPEG-DASH Player for Web and Mobile
bitdash - Simple & Easy MPEG-DASH Player for Web and Mobilebitdash - Simple & Easy MPEG-DASH Player for Web and Mobile
bitdash - Simple & Easy MPEG-DASH Player for Web and Mobile
 
AWS re:Invent - Med305 Achieving consistently high throughput for very large ...
AWS re:Invent - Med305 Achieving consistently high throughput for very large ...AWS re:Invent - Med305 Achieving consistently high throughput for very large ...
AWS re:Invent - Med305 Achieving consistently high throughput for very large ...
 
The OTT Challenge - Eric Leung
The OTT Challenge - Eric LeungThe OTT Challenge - Eric Leung
The OTT Challenge - Eric Leung
 
6. QoS Concepts.pdf
6. QoS Concepts.pdf6. QoS Concepts.pdf
6. QoS Concepts.pdf
 
WiZE Streaming Vs Downloading
WiZE  Streaming Vs DownloadingWiZE  Streaming Vs Downloading
WiZE Streaming Vs Downloading
 
Download presentation source
Download presentation sourceDownload presentation source
Download presentation source
 
Voice Over IP (VoIP) and STREAMING
Voice Over IP (VoIP) and STREAMINGVoice Over IP (VoIP) and STREAMING
Voice Over IP (VoIP) and STREAMING
 
VoIP Monitoring and Troubleshooting
VoIP Monitoring and TroubleshootingVoIP Monitoring and Troubleshooting
VoIP Monitoring and Troubleshooting
 
WEEK 1
WEEK 1WEEK 1
WEEK 1
 
Monitoring whole mpeg transport stream
Monitoring whole mpeg transport streamMonitoring whole mpeg transport stream
Monitoring whole mpeg transport stream
 
(MED305) Achieving Consistently High Throughput for Very Large Data Transfers...
(MED305) Achieving Consistently High Throughput for Very Large Data Transfers...(MED305) Achieving Consistently High Throughput for Very Large Data Transfers...
(MED305) Achieving Consistently High Throughput for Very Large Data Transfers...
 
Internet Video
Internet VideoInternet Video
Internet Video
 
Best practices for live streaming
Best practices for live streamingBest practices for live streaming
Best practices for live streaming
 
Deployment of the nanoCDN solution with an operator
Deployment of the nanoCDN solution with an operatorDeployment of the nanoCDN solution with an operator
Deployment of the nanoCDN solution with an operator
 
“What Every Digital TV Executive Needs to Know About Adaptive Rate Streaming...
 “What Every Digital TV Executive Needs to Know About Adaptive Rate Streaming... “What Every Digital TV Executive Needs to Know About Adaptive Rate Streaming...
“What Every Digital TV Executive Needs to Know About Adaptive Rate Streaming...
 

Recently uploaded

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterMydbops
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 

Recently uploaded (20)

DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Scale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL RouterScale your database traffic with Read & Write split using MySQL Router
Scale your database traffic with Read & Write split using MySQL Router
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 

Wowza Ultra-Low Latency Streaming

  • 1. Ultra-Low Latency Streaming for OTTtv CONFIDENTIAL© 2017 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary. Content DeliveryWorld Summit
  • 2. WOWZA MAKES VIDEO UBIQUITOUS © 2017 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary. 20,000+ CUSTOMERS IN 170+ COUNTRIES FROM THE WORLD’S MOST SOPHISTICATED MEDIA, TELCO, AND TECH COMPANIES TO SMALL BUSINESSES & DEVELOPERS SERVICE PROVIDERS ENTERPRISE & GOVERNMENT EDUCATION Video comprised 64% of global internet traffic in 2014 and will reach 80% by 2019 94% of young executives say video breaks down language barriers in the global market Viewers of sports on mobile devices` doubled from 2011 to 2015 66% of university respondents said streaming is a top strategic initiative ~40% OF CDNS WORLDWIDE RUN WOWZA 70+ PERCENT OF GARTNER’S ENTERPRISE VIDEO QUADRANT RUNS WOWZA EVERY MINOR LEAGUE BASEBALL GAME RUNS ON WOWZA 85% OF THE TOP 25 U.S. UNIVERSITIES, WITH 100% OF IVY LEAGUE RUN WOWZA EVERYONE Houses of Worship Transportation Public Safety Public Transit Medical Security Armed Services 20,000 customers across all industries build on Wowza for video & audio SPORTS
  • 3. Powering Leading-Edge Broadcasting © 2017 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary.
  • 4. © 2016 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary. THE SOFTWARE BEHIND THE STREAMING REVOLUTION • END-TO-END VIDEO & AUDIO WORKFLOW • DEEP DEVELOPER INTEGRATION VIA API, IDE, SDK • ENORMOUS GLOBAL CUSTOMER BASE • STRATEGIC TO ALL CLOUD PLATFORMS 450 Million Live Viewing Hours per Month 20,000 Paying Customers 43 Million Live Broadcasts per Year (not including social media) OVER 25% OF WORLDWIDE LIVE STREAMING WOWZA POWERS 345,000 Hours of Live Transcoding per Day
  • 5. WHAT IS LATENCY? Latency is a time interval between the stimulation and response, or, from a more general point of view, a time delay between the cause and the effect of some physical change in the system being observed. In terms of streaming, latency is the delay between the initial capture of the video and the viewer.
  • 6. TERMS • Time to first frame - Time delay from when a person clicks the play button and when video appears • Broadcast Delay – The practice of intentionally delaying the broadcast of live material to prevent profanity, bloopers, or violence • Quality - Higher quality = higher resolution = more data to send • Scale - How many inputs/participants, how far, how many viewers • Bandwidth - How much traffic can the infrastructure ideally handle • Throughput - How much traffic is the infrastructure really delivering • Bitrate - How many bits of data are being processed over time
  • 7. LATENCY ADDS UP © 2017 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary. The video streaming industry solved for scale, but sacrificed latency. Now we need the best of both worlds.
  • 8. Success Depends on a Usable Experience © 2017 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary. An interactive and social gaming audience Synchronized streams for a “live” experience Betting with near-real time information Requires imperceptible delay where up to the second information means winning or losing. Requires the coordination between two delivery systems so the audience experience is seamless. Requires near-real time viewing so an audience can actively participate or interact with the gaming experience.
  • 9. STREAMING LATENCY © 2017 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary.
  • 10. WHY IS LATENCY A PROBLEM? • Latency is not usually a problem – but people think it is. • For many (or possibly most) live streams, latency does not matter. • HTTP streaming intentionally introduces latency for improved reliability. For some live streams, latency is critical.
  • 12. WHAT FACTORS IMPACT LATENCY? 1. Quality • Resolution • Two-way • Multi-thread • Frame rate • Smooth playback • Chunk/Block Size • Buffering 2. Scale • Distance • Participants • Viewers • Streams • Complexity • Variability • Diverse endpoints Low Latency Large Scale High Quality As either (or both) increase latency increases
  • 13. HOW QUALITY INJECTS LATENCY? • Higher quality = higher resolution = more data to send. • Resolution increases the amount of data in any frame, block, chunk or time slice. If we hold infrastructure constant as resolution goes up the window and latency to deliver a segment increases. • Trade-offs: Some mitigation techniques: Increasing Throughput Increasing throughput with more bandwidth(network) and bitrate(compute) = More infrastructure, more overhead, more cost Reducing Buffer Reducing the buffer requirement will reduce latency but it also makes network fluctuations more visible to the viewer – e.g. a 1ms buffer ideally means content can be viewed as little as 1ms after capture but a 0.1-second network interruption will result in 100 buffer segments being un-recoverable in a live stream. Reducing Framerate Reducing the (frame rate) number of frames per second reduces the smoothness of the viewing experience – e.g. 15 fps is generally a good viewing experience for low movement broadcasts like presentation screen capture/sharing or many church services, it will produce a choppy experience for viewing sports
  • 14. HOW SCALE INJECTS LATENCY? • Scale increases distances, complexity and variability. • As distance, the number of streams, and viewers increase, network imperfections, variability, and degradation increase and can amplify latency. • Trade-offs: Some mitigation techniques: Increasing Throughput Increasing throughput with more bandwidth(network) and bitrate(compute) = More infrastructure, more complexity, more overhead, more cost Increasing Buffer Increasing buffer size adds ability for both encoders, transcoders and players to deal with variability smoothly but increasing buffer inherently increases latency. By definition, buffer size is the minimum amount of data for which a process can be initiated. If more data must be accumulated, then processing will take longer. TCP vs UDP Because it is a lighter weight protocol without error checking, monitoring, order of messaging and headers roughly 1/3 the size of TCP, UDP is inherently faster but there is no guarantee data is received.
  • 15. WHERE STREAMING LATENCY HAS BEEN Windows Media • MMS, RTSP, HTTP (using UDP or TCP) • Encoder, Server, and Player buffer size management • “Low delay” audio codecs • Fast Start, Advanced Fast Start, Fast Recovery, Fast Reconnect, FEC • 2-3 seconds (on a good network) Real Time Streaming Protocol (RTSP) • Developed and by RealNetworks • Relies on RTP and RTCP • Frames can be sent one at a time in real time • Can leverage UDP • Potential latency could be as low as ~125 ms with minimal buffering Real Time Messaging Protocol (RTMP) • Developed & open sourced by Adobe • 1-3 seconds and sub-1 second HTTP • Apple HLS • 30+ seconds on iOS • Using 10 second chunk sizes • MPEG-DASH • 10-20 seconds (variable)
  • 16. WHERE LATENCY IS GOING WebRTC • Designed for real-time audio, video and data delivery over less-reliable connections • Leverages TCP or UDP • Multiple protocols related to RTSP/RTP • 1 second or less (as low as 200 ms) WebSocket • Designed to provide a standardized, two-way, reliable communications channel between a browser and a server • Works with TCP • Can be used with other streaming protocols including RTMP, WebRTC, Haivision SRT, Wowza WOWZ and Aspera FASP • As low as 200 ms
  • 17. WHERE LATENCY IS GOING HTTP • Below 4 seconds (using 1 second chunks) for DASH • Optimizing DASH MPD attributes (availabilityStartTime and minBufferTime) • Below 8 seconds (using 2 second chunks) for HLS (includes GOP adjustments as well) • CMAF + HTTP/1.1 (using HTTP Chunked Transfer Coding) enables video transfer, decode, and display before the end of the chunk encoding • Video encoding enhancements that do not impact decoding (H.264 GDR)
  • 18. WHERE LATENCY IS GOING Quick UDP Internet Connections (QUIC) • Uses UDP (with TCP fallback) • Focuses on security and reliability • Tries to be like TCP while reducing connect and round trip times, packet loss, congestion control, and more using intelligent retransmissions and storage and delivery of information • Built with HTTP/2 in mind Secure Reliable Transport (SRT) • A video transport protocol that enables the delivery of high- quality and secure, low-latency video across the public Internet • Designed to deliver the best quality live video over the worst networks • Accounts for packet loss, jitter, and fluctuating bandwidth while maximizing quality
  • 19. WHERE LATENCY IS GOING Wowza Streaming Cloud Ultra Low Latency Service • A cloud-based, highly scalable streaming service • Using Wowza WOWZ + WebSocket in an origin-edge architecture • Sub 2 seconds end-to-end (origin to player) • Completely API-driven, no user-interface Features include: • Scaled Origin Network • Scaled Edge network • Playback components: SDK for browser and native apps on mobile • Publishing and playback security • Basic Analytics • Recording
  • 20. Mid tier EdgeOrigin { }Analytics Live encoderIP camera REST APIPull distribution Push distribution Push distribution WOWZA ULTRA LOW LATENCY SERVICE
  • 21. REDUCING WORKFLOW COMPONENT LATENCY Think about latency at every step • Content creation (codec, bitrate, resolution) • Streaming workflow and devices • Buffer management (encoder, player) • Network considerations • How you optimize delivery (protocol, transport layer) • How you reach your audience (size, location, and quality) WebRTC and WebSocket can scale using traditional origin/mid-tier/edge configurations (still requires “aware” clients) CDNs are investigating options to enable low latency through their networks • “Tuned” HTTP is a front runner
  • 22. MEASURING LATENCY • This is not easy (especially at scale) • Latency is commonly measured in seconds (or milliseconds) though some prefer frames • A visual test is easy but requires accurate clocks (synchronized using “reliable” NTP servers) • For “traditional” streaming protocols, markers in the stream can be used
  • 23.
  • 24. © 2017 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary Network Characteristic that KILL real time video Ø Packet loss – packets being discarded by routers Ø Jitter – packets arriving at different times than expected Ø Delay – the time from sender to receiver Ø Bandwidth – the fluctuating capacity between points Overcoming Adverse Network Conditions
  • 28. © 2017 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary bps t Constant frame rate Encoder Variable Bitrate t Reconstructed video frame rate Much Happier Decoder Jü Video ü Audio ü Metadata ü Packet acknowledgement – error recovery ü Timing – low latency streaming ü Network connection characteristics ü Bi-directional ü Firewall Friendly SRT Fundamentals SRT Fundamentals
  • 30. SRT in Wowza Streaming Engine Ø Greater reliability of throughput and packet loss Ø Improved bandwidth utilization with network bandwidth fluctuations & long-haul video transport RESULTS - Germany to Australia, using a consumer DSL connection: • 7.5x increase of throughput with SRT, compared to RTMP connections over TCP. • RTMP: 800/10,000 kbits throughput • SRT: and 6000/10,000 kbits throughput Ø Independent security / encryption Ø Minimized buffer 4x RTT (re-transmission time) Ø Logic for packet loss recovery and jitter only requires 4 x the network latency to the server Ø Wide adoption: free open source, known & trusted SRT in Wowza Streaming Engine Wowza Streaming EngineSRT Fundamentals Benefits of SRT | Results
  • 32. © 2015 Wowza Media Systems, LLC. All rights reserved. Confidential & Proprietary. “Wowza” and other identified trademarks are either registered or claimed trademarks of Wowza Media Systems, LLC; visit wowza.com/legal/trademarks for more information. Third-party trademarks are property of their respective owners; their use does not imply endorsement of Wowza products or services by the trademark owner. www.twitter.com/wowzamedia www.youtube.com/user/wowzamediawww.facebook.com/wowza www.plus.google.com/+wowza/posts www.linkedin.com/company/wowza-media-systems WWW.WOWZA.COM