HTML5 & WebRTC: New Horizons for P2P streaming

13,057 views

Published on

Presentation by StreamRoot

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
13,057
On SlideShare
0
From Embeds
0
Number of Embeds
8,508
Actions
Shares
0
Downloads
50
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

HTML5 & WebRTC: New Horizons for P2P streaming

  1. 1. www.streamroot.io Pierre-Louis Théron Nikolay Rodionov Axel Delmas
  2. 2. Video streaming limits 8 Millions simultaneous viewers Huge traffic peak managed by Google and Akamai QoS issues 2
  3. 3. It is time to re-decentralize the Web 4K is coming The global traffic is growing quickly More Mobile users 75% 50% 2013 2014 2015 P2P advantages • Relieve the network’s bottlenecks • Manage traffic peaks with millions of users • Improve the user experience 3
  4. 4. WebRTC New IETF protocol that facilitates web real time communications : • Peer-To-Peer Connections • Very low Latencies • Video, Audio and Data ! Open-Source C++ lib : • iOS, Android • Smart TVs • Set Top Boxes… In-Browser JS API standard = 60% Of browsers 60 NO PLUGIN ! 1 000 000 000 Compatible clients 4
  5. 5. WebRTC Datachannel API WebRTC DataChannel Enables raw data transmissions directly between peers • • • • Simple JavaScript API (similar to WebSockets) Low latencies Communications encrypted by default (DTLS) Can work in « TCP » or « UDP » mode BUT : doesn’t manage the “peers signaling” (you need a signaling server) 5
  6. 6. WebRTC Datachannel API : Applications An infinite number of applications ! • • • • • • Chat / private Messaging service Multi-player video game with low latencies (FPS) P2P file sharing Distributed Computing CDN for static data BitTorrent in the browser BananaBread ShareFest.me PeerServer PeerCDN WebTorrent • LIVE & VOD Peer Assisted Streaming (Video et Audio) 6
  7. 7. StreamRoot www.streamroot.io 7
  8. 8. StreamRoot Solution P2P video delivery solution for VOD & Live Streaming Easy Integration : JavaScript Snippet Real time analytics 8
  9. 9. StreamRoot advantages Bandwidth costs reduction by up to 90% Efficient handle of traffic peaks A better user experience 9
  10. 10. How does it work : 1) Initialization Server / CDN CDN initiates the streaming The user initiates the streaming from the CDN 10
  11. 11. How does it work : 2) Connection to the tracker Server / CDN Tracker Connection to the tracker He automatically connects to the StreamRoot tracker 11
  12. 12. How does it work : 3) Signalization & Connection Server / CDN Tracker Peer pool Peer matching The tracker establishes the connection with the most useful peers 12
  13. 13. How does it work : 4) Peer-to-Peer streaming Server / CDN Tracker Peer pool P2P download The user downloads most of the stream from the other peers 13
  14. 14. StreamRoot Player JavaScript lib Adaptive Streaming :  MPEG-DASH  Bitrate auto-switch Playback intelligence :  Smart Buffering (P2P First, CDN if P2P is too weak)  HTML5 Fallbacks and Flash non compatible browsers Transparent user experience Optimized for high definition: HD and 4K 14
  15. 15. StreamRoot Tracker Primary function : Signaling server • lists and manages Peers • Smart signaling : (GeoIP, ISP, available bandwidth…) • Dynamically analyses each peer performances More features: • Analytics and Push Server • Centralized service : peers and content integrity validation • Not blocking : if the server is down, the user can still watch the video • Scalable 15
  16. 16. VOD StreamRoot demo demo.streamroot.io 16
  17. 17. Feedbacks : VOD deployment 1 video 1h30 1000 Kbps bitrate 400 simultaneous viewers Very scattered population 45% Of bandwidth reduction Total P2P Other results : Some « super-seeders » ( Ratio Up/Down > 3 ) The peer connection is not optimized for long videos Very low transfer latencies between peers (<1s) 17
  18. 18. Live Streaming Demo LIVE STREAMING DEMO : World premiere Workflow : RTMP Live MPEG-DASH Transcoding HTML5 player in Chrome 18
  19. 19. Demo : demo.streamroot.io @StreamRoot 19

×