SlideShare a Scribd company logo
1 of 17
© AKAMAI - EDGE 2017
The Road to Ultra Low Latency Streaming
Phillip Harrison, Enterprise Media Architect
© AKAMAI - EDGE 2017
What we’ll cover
 Where latency stands today
 Where the road diverges
 What technology is coming next
 Demo
© AKAMAI - EDGE 2017
1. Start up time does not impact latency and vice versa.
2. Hand wave latency is the sum total of many delays in the live workflow chain.
3. The player chooses the start position and then builds the buffer to the live edge.
4. Multicast, WebRTC, UDP technologies complement low latency.
5. Low latency is always a trade-off between quality and latency.
But first some definitions…
© AKAMAI - EDGE 2017
Other areas to Optimise…
Encoding Shift encoder priority to from quality to latency optimisation
Packaging Use smaller segment sizes
Ingest Ensure ingest server is close to encoding facility
CDN Optimise CDN mid-tier for fast transfers
Last Mile Ensure server close to end users for short round trip time
Player Optimise start-up buffer logic to be as close to live as possible
© AKAMAI - EDGE 2017
IPP Encoding
• Encoding with zero input buffering:
• I-Frame and P-frames only (No B-Frames)
• Encoder should output frame as soon as CPU has encoded
• Higher input framerates will lead to lower encoding latency. Use 50/60p if possible.
© AKAMAI - EDGE 2017
Encoding
delay
First-mile
upload CDN propagation
Last mile
delivery
Player
buffer
D = Segment duration
Min(1xD, 5) 0.25xD 1xD 0.25xD 3xD
Total
5.5xD
5 2.5 10 2.5 3010s 50s
2 0.5 2 0.5 62s 11s
Why use short segments?
© AKAMAI - EDGE 2017
2 Second
Segment sizes
10 Second
Segment sizes
1 Second
Segment
sizes? Graphic Credit: Wowza
© AKAMAI - EDGE 2017
• Future Proof
• Described my m3u8 or MPD
• Sub Segment Feature
• Efficient
• High compatibility
• Generally only m3u8
• No Sub segment
• Redundant data
© AKAMAI - EDGE 2017
CMAF Sub Segment
moof mdat
Encoder output
timestamp
mdatmoof moof moof moof moof
Encoder output
timestamp
Encoder output
timestamp
Encoder output
timestamp
Encoder output
timestamp
Encoder output
timestamp
6 Second Segment with 1 Fragment (1 moof + 1 mdat)
6 Second Segment with 6 Fragments (6 moof + 6 mdat)
© AKAMAI - EDGE 2017
HTTP/1.1 200 OK
Content-Type: video/mp4
Transfer-Encoding: chunked
4C4B4
��X�SS�����X�ST0����ґm��1^#ů���U
�)�p��sj!�)CN|,R*��w�KO|�Z*�
4C4B4
�������X�US�����X�UT0����ґm��1
^#ů�鲧U�)�p��•
��X�SS���
�)�p�
��
^#ů
4C4B4
��X�SS�����X�ST0����ґm��1^#ů���U
�)�p��sj!�)CN|,R*��w�KO|�Z*�
4C4B4
�������X�US�����X�UT0����ґm��1
^#ů�鲧U�)�p��•
4C4B4
��X�SS�����X�ST0����ґm��1^#ů���U
�)�p��sj!�)CN|,R*��w�KO|�Z*�
��X�SS���
�)�p�
GET /ull/v_0_640x360-1507596336.m4s HTTP/1.1
User-Agent: curl/7.37.
Host: pharriso.akamaized.net
Accept: */*
HTTP Chunked Transfer Encoding
© AKAMAI - EDGE 2017
HTTP Chunked Transfer Encoding
Upload SubSegments to CDN while Segment is still being created
ENCODER INGEST ORIGN CDN PLAYER
Creates 1s segments with 500ms
SubSegments (Fragments) and
uploads via HTTP Chunked Transfer
Encoding Bytes streamed to multiple Live
Origins
Player requests segment that is still
being encoded
Request goes forward to Origin
Origin streams bytes to Edge
Bytes streamed to client and object
stored in cache once complete
© AKAMAI - EDGE 2017
Seconds in the buffer
0
1
2
3
4
5
6
7
QUIC+H2+Fetch API Standard
© AKAMAI - EDGE 2017
Live Demo
© AKAMAI - EDGE 2017
Summary
 Fragmented MP4 (CMAF)
 Chunked Transfer Encoding
 Fetch API, H2, QUIC
 MPEG-DASH
© AKAMAI - EDGE 2017
Manifest at the Edge
#EXTM3U
#EXT-X-TARGETDURATION:1
#EXT-X-VERSION:7
#EXT-X-MEDIA-SEQUENCE:1503290621
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-MAP:URI="v_0_640x360-init.mp4”
#EXTINF:1,
#EXT-X-PROGRAM-DATE-TIME:2017-08-21T04:43:40.00+0000
v_0_640x360-1503290620.m4s
#EXTINF:1,
#EXT-X-PROGRAM-DATE-TIME:2017-08-21T04:43:41.00+0000
v_0_640x360-1503290621.m4s
#EXTINF:1,
#EXT-X-PROGRAM-DATE-TIME:2017-08-21T04:43:42.00+0000
v_0_640x360-1503290622.m4s
Now
Now
Now -1
Now +1
© AKAMAI - EDGE 2017
© AKAMAI - EDGE 2017

More Related Content

What's hot

Video Streaming - 4.ppt
Video Streaming - 4.pptVideo Streaming - 4.ppt
Video Streaming - 4.ppt
Videoguy
 
9.) audio video ethernet (avb cobra net dante)
9.) audio video ethernet (avb cobra net dante)9.) audio video ethernet (avb cobra net dante)
9.) audio video ethernet (avb cobra net dante)
Jeff Green
 

What's hot (20)

2016 Streaming Media West: Choosing an HTML5 Player
2016 Streaming Media West: Choosing an HTML5 Player2016 Streaming Media West: Choosing an HTML5 Player
2016 Streaming Media West: Choosing an HTML5 Player
 
The Perfect Storm MPEG DASH with H.265 (HEVC) with HTML5
The Perfect Storm  MPEG DASH with H.265 (HEVC) with HTML5The Perfect Storm  MPEG DASH with H.265 (HEVC) with HTML5
The Perfect Storm MPEG DASH with H.265 (HEVC) with HTML5
 
Video Streaming - 4.ppt
Video Streaming - 4.pptVideo Streaming - 4.ppt
Video Streaming - 4.ppt
 
NAB Show 2018 Notes
NAB Show 2018 NotesNAB Show 2018 Notes
NAB Show 2018 Notes
 
Paris Video Tech #2 - Presentation by Jean-Yves Avenard
Paris Video Tech #2 - Presentation by Jean-Yves AvenardParis Video Tech #2 - Presentation by Jean-Yves Avenard
Paris Video Tech #2 - Presentation by Jean-Yves Avenard
 
Presentazione Broadcast H.265 & H.264 Sematron Italia - Maggio 2016
Presentazione Broadcast H.265 & H.264 Sematron Italia  - Maggio 2016Presentazione Broadcast H.265 & H.264 Sematron Italia  - Maggio 2016
Presentazione Broadcast H.265 & H.264 Sematron Italia - Maggio 2016
 
Ip live production
Ip live productionIp live production
Ip live production
 
Media Handling in FreeSWITCH
Media Handling in FreeSWITCHMedia Handling in FreeSWITCH
Media Handling in FreeSWITCH
 
AVB intro
AVB introAVB intro
AVB intro
 
Multimedia Streaming Architecture
Multimedia Streaming ArchitectureMultimedia Streaming Architecture
Multimedia Streaming Architecture
 
Experiences from weekly sports broadcasts over 5G - what's possible and what ...
Experiences from weekly sports broadcasts over 5G - what's possible and what ...Experiences from weekly sports broadcasts over 5G - what's possible and what ...
Experiences from weekly sports broadcasts over 5G - what's possible and what ...
 
Aquila Broadcast Premium Video Compression
Aquila Broadcast Premium Video CompressionAquila Broadcast Premium Video Compression
Aquila Broadcast Premium Video Compression
 
VxStream
VxStreamVxStream
VxStream
 
An Introduction to AV1 - The Next-Gen Royalty-Free Codec From the Alliance fo...
An Introduction to AV1 - The Next-Gen Royalty-Free Codec From the Alliance fo...An Introduction to AV1 - The Next-Gen Royalty-Free Codec From the Alliance fo...
An Introduction to AV1 - The Next-Gen Royalty-Free Codec From the Alliance fo...
 
Bandwidth Prediction in Low-Latency Chunked Streaming
Bandwidth Prediction in Low-Latency Chunked StreamingBandwidth Prediction in Low-Latency Chunked Streaming
Bandwidth Prediction in Low-Latency Chunked Streaming
 
Streambox Post Production Solutions
Streambox Post Production SolutionsStreambox Post Production Solutions
Streambox Post Production Solutions
 
Single set of tools for a rich user experience to Live Streaming
Single set of tools for a rich user experience to Live StreamingSingle set of tools for a rich user experience to Live Streaming
Single set of tools for a rich user experience to Live Streaming
 
9.) audio video ethernet (avb cobra net dante)
9.) audio video ethernet (avb cobra net dante)9.) audio video ethernet (avb cobra net dante)
9.) audio video ethernet (avb cobra net dante)
 
H.264 nal and RTP
H.264 nal and RTPH.264 nal and RTP
H.264 nal and RTP
 
The H.265/MPEG-HEVC Standard
The H.265/MPEG-HEVC StandardThe H.265/MPEG-HEVC Standard
The H.265/MPEG-HEVC Standard
 

Similar to The Road to Ultra Low Latency

Utf 8'en'ibm sametime 9 - voice and video deployment
Utf 8'en'ibm sametime 9 - voice and video deployment Utf 8'en'ibm sametime 9 - voice and video deployment
Utf 8'en'ibm sametime 9 - voice and video deployment
a8us
 
Excelfore releases Full Ethernet AVB Stack for ADAS and Infotainment Endpoint...
Excelfore releases Full Ethernet AVB Stack for ADAS and Infotainment Endpoint...Excelfore releases Full Ethernet AVB Stack for ADAS and Infotainment Endpoint...
Excelfore releases Full Ethernet AVB Stack for ADAS and Infotainment Endpoint...
shrinathAcharya
 

Similar to The Road to Ultra Low Latency (20)

Criteo Labs Infrastructure Tech Talk Meetup Nov. 7
Criteo Labs Infrastructure Tech Talk Meetup Nov. 7Criteo Labs Infrastructure Tech Talk Meetup Nov. 7
Criteo Labs Infrastructure Tech Talk Meetup Nov. 7
 
Utf 8'en'ibm sametime 9 - voice and video deployment
Utf 8'en'ibm sametime 9 - voice and video deployment Utf 8'en'ibm sametime 9 - voice and video deployment
Utf 8'en'ibm sametime 9 - voice and video deployment
 
IBC 2013 Multi-network Forum - Akamai
IBC 2013 Multi-network Forum - Akamai IBC 2013 Multi-network Forum - Akamai
IBC 2013 Multi-network Forum - Akamai
 
Provision Your Own Apple TV channel with MSL 4.x
Provision Your Own Apple TV channel with MSL 4.xProvision Your Own Apple TV channel with MSL 4.x
Provision Your Own Apple TV channel with MSL 4.x
 
Introducing ultra-precise time for server-hosted applications
Introducing ultra-precise time for server-hosted applicationsIntroducing ultra-precise time for server-hosted applications
Introducing ultra-precise time for server-hosted applications
 
LwTE: Light-weight Transcoding at the Edge
LwTE: Light-weight Transcoding at the EdgeLwTE: Light-weight Transcoding at the Edge
LwTE: Light-weight Transcoding at the Edge
 
Bitmovin Low Latency CMAF Presentation_Streaming Media East by Paul MacDougall
Bitmovin Low Latency CMAF Presentation_Streaming Media East by Paul MacDougallBitmovin Low Latency CMAF Presentation_Streaming Media East by Paul MacDougall
Bitmovin Low Latency CMAF Presentation_Streaming Media East by Paul MacDougall
 
MIPI DevCon 2021: Meeting the Needs of Next-Generation Displays with a High-P...
MIPI DevCon 2021: Meeting the Needs of Next-Generation Displays with a High-P...MIPI DevCon 2021: Meeting the Needs of Next-Generation Displays with a High-P...
MIPI DevCon 2021: Meeting the Needs of Next-Generation Displays with a High-P...
 
Bitmovin LIVE Tech Talks: Reducing Peak Bandwidth for OTT (ft. Akamai)
Bitmovin LIVE Tech Talks: Reducing Peak Bandwidth for OTT (ft. Akamai) Bitmovin LIVE Tech Talks: Reducing Peak Bandwidth for OTT (ft. Akamai)
Bitmovin LIVE Tech Talks: Reducing Peak Bandwidth for OTT (ft. Akamai)
 
Approaching hyperconvergedopenstack
Approaching hyperconvergedopenstackApproaching hyperconvergedopenstack
Approaching hyperconvergedopenstack
 
Building High Quality Video Operations in the Cloud - Synacor
Building High Quality Video Operations in the Cloud - SynacorBuilding High Quality Video Operations in the Cloud - Synacor
Building High Quality Video Operations in the Cloud - Synacor
 
O'Reilly AI Conf
O'Reilly AI ConfO'Reilly AI Conf
O'Reilly AI Conf
 
Bitmovin LIVE Tech Talks: Analytics for Workflow Automation (ft. Touchstream ...
Bitmovin LIVE Tech Talks: Analytics for Workflow Automation (ft. Touchstream ...Bitmovin LIVE Tech Talks: Analytics for Workflow Automation (ft. Touchstream ...
Bitmovin LIVE Tech Talks: Analytics for Workflow Automation (ft. Touchstream ...
 
MIPI DevCon Seoul 2018: Dual Mode C-PHY/D-PHY Use in VR Display IC
MIPI DevCon Seoul 2018: Dual Mode C-PHY/D-PHY Use in VR Display IC MIPI DevCon Seoul 2018: Dual Mode C-PHY/D-PHY Use in VR Display IC
MIPI DevCon Seoul 2018: Dual Mode C-PHY/D-PHY Use in VR Display IC
 
VMworld 2013: How Good is PCoIP - A Remoting Protocol Shootout
VMworld 2013: How Good is PCoIP - A Remoting Protocol ShootoutVMworld 2013: How Good is PCoIP - A Remoting Protocol Shootout
VMworld 2013: How Good is PCoIP - A Remoting Protocol Shootout
 
RDMA programming design and case studies – for better performance distributed...
RDMA programming design and case studies – for better performance distributed...RDMA programming design and case studies – for better performance distributed...
RDMA programming design and case studies – for better performance distributed...
 
Mips track a
Mips   track aMips   track a
Mips track a
 
Bitmovin LIVE Tech Talks: Data Driven Video Workflows
Bitmovin LIVE Tech Talks: Data Driven Video WorkflowsBitmovin LIVE Tech Talks: Data Driven Video Workflows
Bitmovin LIVE Tech Talks: Data Driven Video Workflows
 
ChipStart Corporate Overview
ChipStart Corporate Overview ChipStart Corporate Overview
ChipStart Corporate Overview
 
Excelfore releases Full Ethernet AVB Stack for ADAS and Infotainment Endpoint...
Excelfore releases Full Ethernet AVB Stack for ADAS and Infotainment Endpoint...Excelfore releases Full Ethernet AVB Stack for ADAS and Infotainment Endpoint...
Excelfore releases Full Ethernet AVB Stack for ADAS and Infotainment Endpoint...
 

More from Akamai Developers & Admins

More from Akamai Developers & Admins (20)

Mitigate Security Threats with SIEM
Mitigate Security Threats with SIEMMitigate Security Threats with SIEM
Mitigate Security Threats with SIEM
 
Manage Your Akamai-as-Code with Terraform
Manage Your Akamai-as-Code with TerraformManage Your Akamai-as-Code with Terraform
Manage Your Akamai-as-Code with Terraform
 
Akamai-as-Code with The Washington Post
Akamai-as-Code with The Washington PostAkamai-as-Code with The Washington Post
Akamai-as-Code with The Washington Post
 
Set up a Development Environment in 5 Minutes
Set up a Development Environment in 5 MinutesSet up a Development Environment in 5 Minutes
Set up a Development Environment in 5 Minutes
 
AWS re:invent: The secret to building and delivering amazing apps at scale
AWS re:invent: The secret to building and delivering amazing apps at scaleAWS re:invent: The secret to building and delivering amazing apps at scale
AWS re:invent: The secret to building and delivering amazing apps at scale
 
AWS re:invent talk: The secrets to building and delivering amazing apps at scale
AWS re:invent talk: The secrets to building and delivering amazing apps at scaleAWS re:invent talk: The secrets to building and delivering amazing apps at scale
AWS re:invent talk: The secrets to building and delivering amazing apps at scale
 
10 things you can do at the edge
10 things you can do at the edge10 things you can do at the edge
10 things you can do at the edge
 
How the internet is reshaping our lives
How the internet is reshaping our livesHow the internet is reshaping our lives
How the internet is reshaping our lives
 
Velocity + Fluent 2018: API Performance
Velocity + Fluent 2018: API PerformanceVelocity + Fluent 2018: API Performance
Velocity + Fluent 2018: API Performance
 
Fluent 2018: Measuring What Matters
Fluent 2018: Measuring What MattersFluent 2018: Measuring What Matters
Fluent 2018: Measuring What Matters
 
Fluent 2018: When third parties stop being polite... and start getting real
Fluent 2018: When third parties stop being polite... and start getting realFluent 2018: When third parties stop being polite... and start getting real
Fluent 2018: When third parties stop being polite... and start getting real
 
Integrating Security Controls into the Development and Delivery Pipeline
Integrating Security Controls into the Development and Delivery PipelineIntegrating Security Controls into the Development and Delivery Pipeline
Integrating Security Controls into the Development and Delivery Pipeline
 
Automation at the Edge
Automation at the EdgeAutomation at the Edge
Automation at the Edge
 
Akamai for Dev Ops Current Capabilities - Atlanta DevOps World Tour
Akamai for Dev Ops Current Capabilities - Atlanta DevOps World TourAkamai for Dev Ops Current Capabilities - Atlanta DevOps World Tour
Akamai for Dev Ops Current Capabilities - Atlanta DevOps World Tour
 
Getting Started with User and API Management Features
Getting Started with User and API Management FeaturesGetting Started with User and API Management Features
Getting Started with User and API Management Features
 
Akamai Developer General Session
Akamai Developer General SessionAkamai Developer General Session
Akamai Developer General Session
 
Akamai Admin General Session
Akamai Admin General SessionAkamai Admin General Session
Akamai Admin General Session
 
EdgeWorkers: Enabling Autonomous, Developer Friendly Programming at the Edge
EdgeWorkers: Enabling Autonomous, Developer Friendly Programming at the EdgeEdgeWorkers: Enabling Autonomous, Developer Friendly Programming at the Edge
EdgeWorkers: Enabling Autonomous, Developer Friendly Programming at the Edge
 
Optimizing your API to Perform at Scale
Optimizing your API to Perform at ScaleOptimizing your API to Perform at Scale
Optimizing your API to Perform at Scale
 
Managing the IoT OTA via the Akamai OPEN APIs and Google Sheets
Managing the IoT OTA via the Akamai OPEN APIs and Google SheetsManaging the IoT OTA via the Akamai OPEN APIs and Google Sheets
Managing the IoT OTA via the Akamai OPEN APIs and Google Sheets
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

The Road to Ultra Low Latency

  • 1. © AKAMAI - EDGE 2017 The Road to Ultra Low Latency Streaming Phillip Harrison, Enterprise Media Architect
  • 2. © AKAMAI - EDGE 2017 What we’ll cover  Where latency stands today  Where the road diverges  What technology is coming next  Demo
  • 3. © AKAMAI - EDGE 2017 1. Start up time does not impact latency and vice versa. 2. Hand wave latency is the sum total of many delays in the live workflow chain. 3. The player chooses the start position and then builds the buffer to the live edge. 4. Multicast, WebRTC, UDP technologies complement low latency. 5. Low latency is always a trade-off between quality and latency. But first some definitions…
  • 4. © AKAMAI - EDGE 2017 Other areas to Optimise… Encoding Shift encoder priority to from quality to latency optimisation Packaging Use smaller segment sizes Ingest Ensure ingest server is close to encoding facility CDN Optimise CDN mid-tier for fast transfers Last Mile Ensure server close to end users for short round trip time Player Optimise start-up buffer logic to be as close to live as possible
  • 5. © AKAMAI - EDGE 2017 IPP Encoding • Encoding with zero input buffering: • I-Frame and P-frames only (No B-Frames) • Encoder should output frame as soon as CPU has encoded • Higher input framerates will lead to lower encoding latency. Use 50/60p if possible.
  • 6. © AKAMAI - EDGE 2017 Encoding delay First-mile upload CDN propagation Last mile delivery Player buffer D = Segment duration Min(1xD, 5) 0.25xD 1xD 0.25xD 3xD Total 5.5xD 5 2.5 10 2.5 3010s 50s 2 0.5 2 0.5 62s 11s Why use short segments?
  • 7. © AKAMAI - EDGE 2017 2 Second Segment sizes 10 Second Segment sizes 1 Second Segment sizes? Graphic Credit: Wowza
  • 8. © AKAMAI - EDGE 2017 • Future Proof • Described my m3u8 or MPD • Sub Segment Feature • Efficient • High compatibility • Generally only m3u8 • No Sub segment • Redundant data
  • 9. © AKAMAI - EDGE 2017 CMAF Sub Segment moof mdat Encoder output timestamp mdatmoof moof moof moof moof Encoder output timestamp Encoder output timestamp Encoder output timestamp Encoder output timestamp Encoder output timestamp 6 Second Segment with 1 Fragment (1 moof + 1 mdat) 6 Second Segment with 6 Fragments (6 moof + 6 mdat)
  • 10. © AKAMAI - EDGE 2017 HTTP/1.1 200 OK Content-Type: video/mp4 Transfer-Encoding: chunked 4C4B4 ��X�SS�����X�ST0����ґm��1^#ů���U �)�p��sj!�)CN|,R*��w�KO|�Z*� 4C4B4 �������X�US�����X�UT0����ґm��1 ^#ů�鲧U�)�p��• ��X�SS��� �)�p� �� ^#ů 4C4B4 ��X�SS�����X�ST0����ґm��1^#ů���U �)�p��sj!�)CN|,R*��w�KO|�Z*� 4C4B4 �������X�US�����X�UT0����ґm��1 ^#ů�鲧U�)�p��• 4C4B4 ��X�SS�����X�ST0����ґm��1^#ů���U �)�p��sj!�)CN|,R*��w�KO|�Z*� ��X�SS��� �)�p� GET /ull/v_0_640x360-1507596336.m4s HTTP/1.1 User-Agent: curl/7.37. Host: pharriso.akamaized.net Accept: */* HTTP Chunked Transfer Encoding
  • 11. © AKAMAI - EDGE 2017 HTTP Chunked Transfer Encoding Upload SubSegments to CDN while Segment is still being created ENCODER INGEST ORIGN CDN PLAYER Creates 1s segments with 500ms SubSegments (Fragments) and uploads via HTTP Chunked Transfer Encoding Bytes streamed to multiple Live Origins Player requests segment that is still being encoded Request goes forward to Origin Origin streams bytes to Edge Bytes streamed to client and object stored in cache once complete
  • 12. © AKAMAI - EDGE 2017 Seconds in the buffer 0 1 2 3 4 5 6 7 QUIC+H2+Fetch API Standard
  • 13. © AKAMAI - EDGE 2017 Live Demo
  • 14. © AKAMAI - EDGE 2017 Summary  Fragmented MP4 (CMAF)  Chunked Transfer Encoding  Fetch API, H2, QUIC  MPEG-DASH
  • 15. © AKAMAI - EDGE 2017 Manifest at the Edge #EXTM3U #EXT-X-TARGETDURATION:1 #EXT-X-VERSION:7 #EXT-X-MEDIA-SEQUENCE:1503290621 #EXT-X-INDEPENDENT-SEGMENTS #EXT-X-MAP:URI="v_0_640x360-init.mp4” #EXTINF:1, #EXT-X-PROGRAM-DATE-TIME:2017-08-21T04:43:40.00+0000 v_0_640x360-1503290620.m4s #EXTINF:1, #EXT-X-PROGRAM-DATE-TIME:2017-08-21T04:43:41.00+0000 v_0_640x360-1503290621.m4s #EXTINF:1, #EXT-X-PROGRAM-DATE-TIME:2017-08-21T04:43:42.00+0000 v_0_640x360-1503290622.m4s Now Now Now -1 Now +1
  • 16. © AKAMAI - EDGE 2017
  • 17. © AKAMAI - EDGE 2017