Top Banner
37

Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

Apr 16, 2017

Download

Technology

Kranky Geek
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC
Page 2: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC
Page 3: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC
Page 4: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

we love WebRTC because it is p2p

Page 5: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

better security lower latency less hassle lower cost

BS METER THEY SAY P2P HAS: 90% BS

25%

75%

25%

Page 6: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

CONFERENCING RECORDING TALKING TO PHONES BROADCASTING

RECORDING

QUICK CONNECT

NAT TRAVERSAL

Page 7: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

THE MCU THE SFU P2P MESH

Page 8: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

THE MCU THE SFU P2P MESH

MIX

Page 9: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

THE MCU THE SFU P2P MESS

MIX

C

ALL ABOUT THE PERF

A L L A B O U T INTEROP

ALL ABOUT … NOT SURE

Page 10: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

THE SFU

ALL ABOUT THE PERF

Page 11: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

20% CPU

1000 video streams 550

Megabits https://jitsi.org/videobridge/

performance

Page 12: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

WORK FOR A MOBILE?

an MCU only sends 1 stream

an SFU needs tons of bandwith but … from a participant perspective

WOULD AN SFU EVER

Page 13: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

SIM & SVC in a

nutshell

Page 14: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

s i m u l c a s t

Page 15: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

SVC: SCALABLE VIDEO CODING

Page 16: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

SVC: SCALABLE VIDEO CODING

Page 17: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

SVC: SCALABLE VIDEO CODING

Page 18: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

SVC: SCALABLE VIDEO CODING

Page 19: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

SVC: SCALABLE VIDEO CODING

Page 20: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

SPACIAL SVC

Page 21: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

TEMPORAL SVC

Page 22: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

simulcast in chrome o=- 3407482598521328076 2 IN IP4 127.0.0.1

s=- t=0 0 a=group:BUNDLE audio video data ... m=audio 9 RTP/SAVPF 111 103 104 9 0 8 106 105 13 126 ... m=video 9 RTP/SAVPF 100 116 117 96 ... cr

eate

Of

fer

Page 23: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

simulcast in chrome o=- 3407482598521328076 2 IN IP4 127.0.0.1

s=- t=0 0 ... m=audio 9 RTP/SAVPF 111 103 104 9 0 8 106 105 13 126 ... m=video 9 RTP/SAVPF 100 116 117 96 a=ssrc-group:SIM 3535700627 3169665807 0902838992 a=ssrc:3535700627 cname:localCname a=ssrc:3535700627 msid:DN4NQ 0a1622a6a67d a=ssrc:3169665807 cname:localCname a=ssrc:3169665807 msid:DN4NQ 0a1622a6a67d a=ssrc:0902838992 cname:localCname a=ssrc:0902838992 msid:DN4NQ 0a1622a6a67d setL

ocal

Des

crip

tion

sim

ulc

ast

Page 24: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

simulcast: raison d'être

360p

720p

1080p

using endpoint generated bandwidth estimations (REMB) draft-alvestrand-rmcat-congestion draft-alvestrand-rmcat-remb

Page 25: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

simulcast: raison d'être

360p

720p

1080p

using endpoint generated bandwidth estimations (REMB) draft-alvestrand-rmcat-congestion draft-alvestrand-rmcat-remb

Page 26: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

1080p

simulcast: raison d'être

360p

720p

1080p

using endpoint generated bandwidth estimations (REMB) draft-alvestrand-rmcat-congestion draft-alvestrand-rmcat-remb

Page 27: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

1080p

fiber or cable

simulcast: raison d'être

360p

720p

1080p

using endpoint generated bandwidth estimations (REMB) draft-alvestrand-rmcat-congestion draft-alvestrand-rmcat-remb

Page 28: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

Wi-Fi

720p

simulcast: raison d'être

360p

720p

1080p

using endpoint generated bandwidth estimations (REMB) draft-alvestrand-rmcat-congestion draft-alvestrand-rmcat-remb

Page 29: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

3g

360p

simulcast: raison d'être

360p

720p

1080p

using endpoint generated bandwidth estimations (REMB) draft-alvestrand-rmcat-congestion draft-alvestrand-rmcat-remb

Page 30: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

3g

360p

fiber or cable

simulcast: raison d'être

360p

720p

1080p

using endpoint generated bandwidth estimations (REMB) draft-alvestrand-rmcat-congestion draft-alvestrand-rmcat-remb

Page 31: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

3g

360p

Wi-Fi

simulcast: raison d'être

360p

720p

using endpoint generated bandwidth estimations (REMB) draft-alvestrand-rmcat-congestion draft-alvestrand-rmcat-remb

Page 32: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

360p

3g

360p

3g

Page 33: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

no yes no

Page 34: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

no yes no

Page 35: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

soon yes soon

Page 36: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

How about the W3C and IETF ?

(to be filled in on Thursday)

Page 37: Kranky Geek WebRTC 2015 - Beyond P2P: Video routing in WebRTC

20% CPU

1000 video streams 550

Megabits