• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
HTML5 & WebRTC: New Horizons for P2P streaming
 

HTML5 & WebRTC: New Horizons for P2P streaming

on

  • 3,565 views

Presentation by StreamRoot

Presentation by StreamRoot

Statistics

Views

Total Views
3,565
Views on SlideShare
520
Embed Views
3,045

Actions

Likes
0
Downloads
6
Comments
0

6 Embeds 3,045

http://blog.eltrovemo.com 3039
http://translate.googleusercontent.com 2
http://webcache.googleusercontent.com 1
http://news.google.com 1
http://cancanit.com 1
http://www.slideee.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    HTML5 & WebRTC: New Horizons for P2P streaming HTML5 & WebRTC: New Horizons for P2P streaming Presentation Transcript

    • www.streamroot.io Pierre-Louis Théron Nikolay Rodionov Axel Delmas
    • Video streaming limits 8 Millions simultaneous viewers Huge traffic peak managed by Google and Akamai QoS issues 2
    • 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
    • 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
    • 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
    • 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
    • StreamRoot www.streamroot.io 7
    • StreamRoot Solution P2P video delivery solution for VOD & Live Streaming Easy Integration : JavaScript Snippet Real time analytics 8
    • StreamRoot advantages Bandwidth costs reduction by up to 90% Efficient handle of traffic peaks A better user experience 9
    • How does it work : 1) Initialization Server / CDN CDN initiates the streaming The user initiates the streaming from the CDN 10
    • How does it work : 2) Connection to the tracker Server / CDN Tracker Connection to the tracker He automatically connects to the StreamRoot tracker 11
    • 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
    • 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
    • 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
    • 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
    • VOD StreamRoot demo demo.streamroot.io 16
    • 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
    • Live Streaming Demo LIVE STREAMING DEMO : World premiere Workflow : RTMP Live MPEG-DASH Transcoding HTML5 player in Chrome 18
    • Demo : demo.streamroot.io @StreamRoot 19