SlideShare a Scribd company logo
HTTP STREAMING
     HDS & HLS
Plain file delivery
+ Simple & fast (nginx)
+ Easy to collect logs
+ Excelent buffer support (possible to buffer whole file)
- No multibitrate
- No live streaming
- Awfull seeking (almost impossible with mp4)
- Traffic overusage with seeks and transparent caching proxies
RTMP (pros)


+ Live event streaming
+ Proper seek support
± Bitrate switch (only manual)
RTMP (cons)

- No buffering (primitive content protection)
- Firewall blocking
- Hard clustering (almost impossible to proxy file rtmp access)
- Impossible to do automatic multibitrate
- Non cacheable by intermediate proxies
Design problems of RTMP


Persistent TCP connection

Non-HTTP port and protocol

Two players that require logic sync: on client and on server
HTTP Streaming


Don’t miss with pseudostreaming

Adobe HDS, Apple HLS, Microsoft Smooth MPEG-DASH

Content is delivered in chunks according to manifest

Live streaming is done by reloading changing manifest
Multibitrate implementation


Client downloads several chunks via HTTP

It knows their duration from manifest

If download takes more than duration, lower bitrate is chosen

If download is faster than next bitrate, upper bitrate is chosen
Adobe HDS
Fully implemented in flash player libraries, can be rewritten to any
needs
NetStream.appendBytes
mp4/flv chunks are delivered
timeshift
multibitrate
chunk skipping (on slow channels)
buffering of whole file possible
Apple HLS

Implemented inside iOS, Android or firmware

Almost no control of video from client-side

Multibitrate

No full-file buffering

Very high container overhead (15-30%)
Microsoft SmoothStreaming


Silverlight is going to die

Nothing interesting in fact

Almost the same as HDS: manifest and mp4 chunks
MPEG-DASH



Some not-implemented not-designed standard

Will be interesting in mid-2013
Videostreaming


File serving (http pseudostreaming) is bad for long files

RTMP is bad for everything

HDS/HLS is choice of 2012-2014

More Related Content

PDF
HTTP/2 turns 3 years old // Web Performance Meetup wao.io 20180612
Avenga Germany GmbH
 
PDF
How to video.
Cotap Engineering
 
PDF
SNIA SDC 2016 final
Dan Lambright
 
PDF
Apache HTTPd Server 2.2 Presentation
ultimatetux
 
ODP
IT Operations for Web Developers
Mahmoud Said
 
PDF
PBX on a non-specialized distro
StefanoFancello
 
PPTX
ops300 Week5 storage (1)
trayyoo
 
PDF
SELinux by Example
Miroslav Spousta
 
HTTP/2 turns 3 years old // Web Performance Meetup wao.io 20180612
Avenga Germany GmbH
 
How to video.
Cotap Engineering
 
SNIA SDC 2016 final
Dan Lambright
 
Apache HTTPd Server 2.2 Presentation
ultimatetux
 
IT Operations for Web Developers
Mahmoud Said
 
PBX on a non-specialized distro
StefanoFancello
 
ops300 Week5 storage (1)
trayyoo
 
SELinux by Example
Miroslav Spousta
 

What's hot (19)

PDF
HBase
Abhilash Kumar
 
PDF
Apache james more than emails in the cloud
Ioan Eugen Stan
 
PDF
cPanel conf 2017 - How to Speak cPanel
cPanel
 
PDF
Introduction to AdroitLogic and UltraESB
AdroitLogic
 
PPT
Toolchain Independent Distributed Compilation
Dietmar Hauser
 
PPTX
Storm distributed cache workshop
Roger Rafanell Mas
 
PDF
XPDDS17: PVH Dom0: The Road so Far - Roger Pau Monné, Citrix
The Linux Foundation
 
PDF
Symfony e grandi numeri: si può fare!
Daniel Londero
 
PDF
Varnish to the rescue
leafnode
 
PDF
XPDDS17: Keynote: Towards a Configurable and Slimmer x86 Hypervisor - Wei Liu...
The Linux Foundation
 
PDF
Apache James/Hupa & GWT
Manuel Carrasco Moñino
 
KEY
Zero mq logs
Tomas Doran
 
PDF
Linux network manager configure
InfoExcavator
 
PDF
DIY Async Message Pump: Lessons from the trenches
Particular Software
 
PDF
GlusterFs: a scalable file system for today's and tomorrow's big data
Roberto Franchini
 
PDF
NullMQ @ PDX
Jeff Lindsay
 
PPTX
RabbitMQ and AMQP Model
Rajitha Gunawardhane
 
PDF
Adding Real-time Features to PHP Applications
Ronny López
 
PPTX
Serve like a boss (part two)
Hamed Nemati
 
Apache james more than emails in the cloud
Ioan Eugen Stan
 
cPanel conf 2017 - How to Speak cPanel
cPanel
 
Introduction to AdroitLogic and UltraESB
AdroitLogic
 
Toolchain Independent Distributed Compilation
Dietmar Hauser
 
Storm distributed cache workshop
Roger Rafanell Mas
 
XPDDS17: PVH Dom0: The Road so Far - Roger Pau Monné, Citrix
The Linux Foundation
 
Symfony e grandi numeri: si può fare!
Daniel Londero
 
Varnish to the rescue
leafnode
 
XPDDS17: Keynote: Towards a Configurable and Slimmer x86 Hypervisor - Wei Liu...
The Linux Foundation
 
Apache James/Hupa & GWT
Manuel Carrasco Moñino
 
Zero mq logs
Tomas Doran
 
Linux network manager configure
InfoExcavator
 
DIY Async Message Pump: Lessons from the trenches
Particular Software
 
GlusterFs: a scalable file system for today's and tomorrow's big data
Roberto Franchini
 
NullMQ @ PDX
Jeff Lindsay
 
RabbitMQ and AMQP Model
Rajitha Gunawardhane
 
Adding Real-time Features to PHP Applications
Ronny López
 
Serve like a boss (part two)
Hamed Nemati
 
Ad

Similar to Http streaming (20)

PPTX
Multimedia Streaming Architecture
Olaf Reitmaier Veracierta
 
PPT
Dos presentation by ahlam shakeel
أحلام انصارى
 
PPTX
Media Content Delivery Systems
ashbyb
 
PDF
IRJET- Protected Adaptive Bitrate Streaming using HTTP Live Streaming and...
IRJET Journal
 
PPTX
Streaming video to html
jeff tapper
 
PDF
Implementing a Caching Scheme for Media Streaming in a Proxy Server
Abdelrahman Hosny
 
PDF
Building video application on windows 8 with Windows Azure Media Services
Mingfei Yan
 
PPTX
What is hls streaming
StreamHash
 
PPTX
Multimedia networks
Saqib Shehzad
 
PPTX
Media Source Extensions
FITC
 
PDF
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)
Chris Adamson
 
PDF
PackeTV® Mobile Whitepaper
Andrew Lemert
 
PDF
Technology Update: MPEG-Dash
Media Perspectives
 
PPTX
Encoding Video for Microsoft Silverlight
goodfriday
 
PPTX
Understanding MPEG DASH
Seung-Bum Lee
 
PPT
WEEK 1
Videoguy
 
PPTX
Streaming Stored Video
MdAshikJiddney
 
PPTX
Drm landscape and online streaming
Jas Chhabra
 
PPTX
Streaming Stored Video- Computer Networking
Mahbubur Rahman
 
Multimedia Streaming Architecture
Olaf Reitmaier Veracierta
 
Dos presentation by ahlam shakeel
أحلام انصارى
 
Media Content Delivery Systems
ashbyb
 
IRJET- Protected Adaptive Bitrate Streaming using HTTP Live Streaming and...
IRJET Journal
 
Streaming video to html
jeff tapper
 
Implementing a Caching Scheme for Media Streaming in a Proxy Server
Abdelrahman Hosny
 
Building video application on windows 8 with Windows Azure Media Services
Mingfei Yan
 
What is hls streaming
StreamHash
 
Multimedia networks
Saqib Shehzad
 
Media Source Extensions
FITC
 
Building A Streaming Apple TV App (CocoaConf DC, Sept 2016)
Chris Adamson
 
PackeTV® Mobile Whitepaper
Andrew Lemert
 
Technology Update: MPEG-Dash
Media Perspectives
 
Encoding Video for Microsoft Silverlight
goodfriday
 
Understanding MPEG DASH
Seung-Bum Lee
 
WEEK 1
Videoguy
 
Streaming Stored Video
MdAshikJiddney
 
Drm landscape and online streaming
Jas Chhabra
 
Streaming Stored Video- Computer Networking
Mahbubur Rahman
 
Ad

More from Max Lapshin (16)

PDF
Erlang railsclub - 1
Max Lapshin
 
PDF
Flussonic IPTV OTT
Max Lapshin
 
PDF
Pulsedb — система хранения временных рядов
Max Lapshin
 
PDF
Видеостриминг на 10 ГБит/с
Max Lapshin
 
PDF
Там, где Rails не справляются
Max Lapshin
 
PDF
Rails, Eventmachine, Erlang
Max Lapshin
 
KEY
Code generation in Erlang
Max Lapshin
 
KEY
Erlang for Yandex
Max Lapshin
 
KEY
Актуальное состояние вещания видео в интернете
Max Lapshin
 
KEY
Erlang&rails
Max Lapshin
 
KEY
Что и почему писать на Erlang
Max Lapshin
 
PPT
Devpoint2 video in internet
Max Lapshin
 
KEY
Erlyvideo — сервер потокового видео.
Max Lapshin
 
KEY
Отличие Erlang от объектных языков
Max Lapshin
 
PDF
Erlyvideo
Max Lapshin
 
KEY
кеширование в бд
Max Lapshin
 
Erlang railsclub - 1
Max Lapshin
 
Flussonic IPTV OTT
Max Lapshin
 
Pulsedb — система хранения временных рядов
Max Lapshin
 
Видеостриминг на 10 ГБит/с
Max Lapshin
 
Там, где Rails не справляются
Max Lapshin
 
Rails, Eventmachine, Erlang
Max Lapshin
 
Code generation in Erlang
Max Lapshin
 
Erlang for Yandex
Max Lapshin
 
Актуальное состояние вещания видео в интернете
Max Lapshin
 
Erlang&rails
Max Lapshin
 
Что и почему писать на Erlang
Max Lapshin
 
Devpoint2 video in internet
Max Lapshin
 
Erlyvideo — сервер потокового видео.
Max Lapshin
 
Отличие Erlang от объектных языков
Max Lapshin
 
Erlyvideo
Max Lapshin
 
кеширование в бд
Max Lapshin
 

Recently uploaded (20)

PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PPTX
Coupa-Overview _Assumptions presentation
annapureddyn
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
REPORT: Heating appliances market in Poland 2024
SPIUG
 
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
Software Development Company | KodekX
KodekX
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PDF
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
Coupa-Overview _Assumptions presentation
annapureddyn
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
REPORT: Heating appliances market in Poland 2024
SPIUG
 
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
Software Development Methodologies in 2025
KodekX
 
Software Development Company | KodekX
KodekX
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Security features in Dell, HP, and Lenovo PC systems: A research-based compar...
Principled Technologies
 

Http streaming

  • 1. HTTP STREAMING HDS & HLS
  • 2. Plain file delivery + Simple & fast (nginx) + Easy to collect logs + Excelent buffer support (possible to buffer whole file) - No multibitrate - No live streaming - Awfull seeking (almost impossible with mp4) - Traffic overusage with seeks and transparent caching proxies
  • 3. RTMP (pros) + Live event streaming + Proper seek support ± Bitrate switch (only manual)
  • 4. RTMP (cons) - No buffering (primitive content protection) - Firewall blocking - Hard clustering (almost impossible to proxy file rtmp access) - Impossible to do automatic multibitrate - Non cacheable by intermediate proxies
  • 5. Design problems of RTMP Persistent TCP connection Non-HTTP port and protocol Two players that require logic sync: on client and on server
  • 6. HTTP Streaming Don’t miss with pseudostreaming Adobe HDS, Apple HLS, Microsoft Smooth MPEG-DASH Content is delivered in chunks according to manifest Live streaming is done by reloading changing manifest
  • 7. Multibitrate implementation Client downloads several chunks via HTTP It knows their duration from manifest If download takes more than duration, lower bitrate is chosen If download is faster than next bitrate, upper bitrate is chosen
  • 8. Adobe HDS Fully implemented in flash player libraries, can be rewritten to any needs NetStream.appendBytes mp4/flv chunks are delivered timeshift multibitrate chunk skipping (on slow channels) buffering of whole file possible
  • 9. Apple HLS Implemented inside iOS, Android or firmware Almost no control of video from client-side Multibitrate No full-file buffering Very high container overhead (15-30%)
  • 10. Microsoft SmoothStreaming Silverlight is going to die Nothing interesting in fact Almost the same as HDS: manifest and mp4 chunks
  • 11. MPEG-DASH Some not-implemented not-designed standard Will be interesting in mid-2013
  • 12. Videostreaming File serving (http pseudostreaming) is bad for long files RTMP is bad for everything HDS/HLS is choice of 2012-2014

Editor's Notes