77
WebRTC standards update (November 2014) Victor Pascual Avila [email protected] @victorpascual Antón Román Portabales [email protected] @antonroman

WebRTC standards update - November 2014

Embed Size (px)

DESCRIPTION

WebRTC standards update - November 2014

Citation preview

Page 1: WebRTC standards update - November 2014

WebRTC standards update (November 2014)

Victor  Pascual  Avila  [email protected]                @victorpascual    

Antón  Román  Portabales  [email protected]                @antonroman    

Page 2: WebRTC standards update - November 2014

2  

Page 3: WebRTC standards update - November 2014

3  

So here we are today…  

Page 4: WebRTC standards update - November 2014

4  

@victorpascual    @antonroman    #sthlmwebrtc  

Page 5: WebRTC standards update - November 2014

Technology, Innovation & Strategy Consultant Main focus: help make WebRTC happen – involved in WebRTC standardization, development and first industry deployments (on-going RFX's, PoC's and field trials) Other activities: - Chief Strategy Officer (CSO) - IETF contributor (SIP, Diameter and WebRTC areas) - IETF STRAW WG co-chair - SIP Forum WebRTC Task Group co-chair - WebRTCHacks.com co-founder and blogger - Independent Expert at European Commission

- Associate Professor at Universitat Pompeu Fabra

About Victor

Page 6: WebRTC standards update - November 2014

About  Anton • CTO  @  Quobis:  involved  in  first  industry  deployments  (on-­‐going  RFX’s,  PoCs  and  field  trials).  

• Background  in  SIP  and  IMS.  • GeVng  involved  in  IETF  acXviXes.  •  Involved  in  more  than  80  WebRTC  PoC  with  operators,  call  centers,  gateway  vendors  and  open  source  soluXons.  

• Reviewer  of  some  WebRTC  books  and  author  of  some  posts  at  webrtchacks.com    

6  

Page 7: WebRTC standards update - November 2014

What is WebRTC?

A browser-embedded media engine

Page 8: WebRTC standards update - November 2014

(Media)

(Signaling)

(Signaling)

“Set or RTC APIs for Web Browsers”

“New protocol profile”

WebRTC standards

Page 9: WebRTC standards update - November 2014

- Audio codecs – G.711, Opus - Video codecs – H.264, VP8 - Media codecs are negotiated with SDP (for now at least) - Requires Secure RTP (SRTP) – DTLS-SRTP (SDES is prohibited) - Requires Peer-2-peer NAT traversal tools (STUN, TURN, ICE) – trickle ICE - Multiplexing: RTPs & RTP+RTCP - Tools for firewall traversal - DataChannel - Etc.

NEW PROTOCOL PROFILE FOR MEDIA

RTCWeb WG (and other)

Page 10: WebRTC standards update - November 2014

RTCWeb WG

Page 11: WebRTC standards update - November 2014

11  

Page 12: WebRTC standards update - November 2014

12  

Page 13: WebRTC standards update - November 2014

13  

Page 14: WebRTC standards update - November 2014

14  

Page 15: WebRTC standards update - November 2014

15  

Page 16: WebRTC standards update - November 2014

Don’t panic, it’s not a bad thing!

WebRTC Doesn’t Define Signaling

Page 17: WebRTC standards update - November 2014

17  

Page 18: WebRTC standards update - November 2014

Some discussion on the topic: http://webrtchacks.com/signalling-options-for-webrtc-applications/

Signaling Plane •  WebRTC has no defined signaling method •  JavaScript app downloaded from web server •  Popular choices are:

•  SIP over Websockets -  Standard mechanism (RFC7118): Extend SIP directly into the browser by

embedding a SIP stack directly into the webpage – typically based on JavaScript

-  WebSocket create a full-duplex channel right from the web browser

-  Popular examples are jsSIP, sip-js, QoffeeSIP, or sipML5

•  Call Control API -  proprietary signaling scheme based on more traditional web tools and techniques

-  “standard” APIs enhanced to include WebRTC support

•  Other alternatives based on XMPP, JSON or f00b4r

Page 19: WebRTC standards update - November 2014

Interworking Towards Legacy VoIP?

•  A browser-embedded media engine •  Best-of-breed echo canceler •  Video jitter buffer, image enhancer •  Audio codecs – G.711, Opus are MTI •  Video codecs – H.264 vs. VP8 (MTI TBD - IPR discussion) •  Media codecs are negotiated with SDP (for now at least) •  Requires Secure RTP (SRTP) – DTLS •  Requires Peer-2-peer NAT traversal tools (STUN, TURN, ICE) –

trickle ICE •  Multiplexing: RTPs & RTP+RTCP

•  Yes, your favorite SIP client implementation is compatible with most of this. But, the vast majority of deployments

•  Use plain RTP (and SDES if encrypted at all) •  Do not support STUN/TURN/ICE •  Do not support multiplexing (ok, not really an issue) •  Use different codecs that might not be supported on the WebRTC

side

Page 20: WebRTC standards update - November 2014

WebRTC signaling and media is NOT compatible with existing VoIP/IMS

deployments – gateways are required to bridge the two worlds

Page 21: WebRTC standards update - November 2014

Some discussion on the topic: http://webrtchacks.com/cisco-openh264/

The Video Codec Battle

Page 22: WebRTC standards update - November 2014
Page 23: WebRTC standards update - November 2014

Room participants: 30/50 in favor of H.264 Remote participants (minority): 75/25 in favor of VP8 → No clear consensus

No decision Some discussion on the topic: http://webrtchacks.com/ietf-finally-made-decision-mandatory-implement-mti-video-codec-webrtc/

Result of The Discussion?

Page 24: WebRTC standards update - November 2014

24  

Page 25: WebRTC standards update - November 2014

25  

Page 26: WebRTC standards update - November 2014

26  hap://blogs.cisco.com/collaboraXon/ciscos-­‐openh264-­‐now-­‐part-­‐of-­‐firefox/  

Page 27: WebRTC standards update - November 2014

27  

Page 28: WebRTC standards update - November 2014

28  

Page 29: WebRTC standards update - November 2014

29  

Page 30: WebRTC standards update - November 2014

30  

Page 31: WebRTC standards update - November 2014

31  

Page 32: WebRTC standards update - November 2014

32  

Page 33: WebRTC standards update - November 2014

33  

Page 34: WebRTC standards update - November 2014

34  

Page 35: WebRTC standards update - November 2014

Photo  taken  by  Dan  York   35  

Page 36: WebRTC standards update - November 2014

Fresh  News!  (from  last  night  -­‐-­‐  yup,  we  woke  up  at  3am)

36  

Page 37: WebRTC standards update - November 2014

But…

37  

Page 38: WebRTC standards update - November 2014

VP9  vs.  H.265  

38  

Page 39: WebRTC standards update - November 2014

39  

Page 40: WebRTC standards update - November 2014

“The mission of the W3C WebRTC WG is to define client-side APIs to enable Real-Time Communications in Web-browsers. These APIs should enable building applications that can be run inside a browser, requiring no extra downloads or plugins, that allow communication between parties using audio, video and supplementary real-time communication, without having to use intervening servers (unless needed for firewall traversal).”

Discussion: provides the current API in its form (e.g. based on SDP O/A) the flexibility Web developers need?

Answer: well, not really but it's good enough for most of the use cases we have today

Alternative proposals: Microsoft's CU-RTC-WEB (Aug'12), WebRTC Object API (ORTC) (Aug'13)

Next step: “Done is better than perfect”, Let's finish WebRTC 1.0, Let the industry adopt it

Future work: “fix/improve things in WebRTC 2.0 or even 1.1”, Backward interoperability?

Obtain local

media

Setup Peer Connection

Attach media or Data

Close Connection

← getUserMedia(), etc.

← RTCPeerConnection(), etc.

← addStream(), createOffer(), etc.

WebRTC WG

Page 41: WebRTC standards update - November 2014

iswebrtcreadyyet.com

Browser Support

Page 42: WebRTC standards update - November 2014

42  

Page 43: WebRTC standards update - November 2014

43  

Page 44: WebRTC standards update - November 2014

Some discussion on the topic: http://webrtchacks.com/why-the-webrtc-api-has-it-wrong-interview-with-webrtc-object-api-ortc-co-author-inaki-baz-3-2/

Browser API

1.1  2.0  ?  

Page 45: WebRTC standards update - November 2014

http://status.modern.ie/

Browser API

Page 46: WebRTC standards update - November 2014

http://status.modern.ie/

Browser API

Page 47: WebRTC standards update - November 2014

Browser API

Page 48: WebRTC standards update - November 2014

Plug-­‐in  free  or  free  plug-­‐in?

48  

Page 49: WebRTC standards update - November 2014

49  

Page 50: WebRTC standards update - November 2014

50  

Page 51: WebRTC standards update - November 2014

51  

Page 52: WebRTC standards update - November 2014

52  

Page 53: WebRTC standards update - November 2014

53  

Page 54: WebRTC standards update - November 2014

54  

Page 55: WebRTC standards update - November 2014

55  

hap://webrtchacks.com/ortc-­‐qa-­‐robin-­‐raymond/  

Page 56: WebRTC standards update - November 2014

56  hap://blog.webrtc.is/2014/07/01/google-­‐chrome-­‐38-­‐39-­‐to-­‐ship-­‐with-­‐ortc-­‐webrtc-­‐1-­‐1-­‐apis/  

Well…  not  really  

Page 57: WebRTC standards update - November 2014

57  

Page 58: WebRTC standards update - November 2014

58  

ORTC editor

Page 59: WebRTC standards update - November 2014

59  

WebRTC editor

Page 60: WebRTC standards update - November 2014

11/17/14   60  

Page 61: WebRTC standards update - November 2014

http://webrtchacks.com/ims-approach-webrtc/

WebRTC Access to IMS (r12)

Page 62: WebRTC standards update - November 2014

Adding New Wheels to IMS with WebRTC

Page 63: WebRTC standards update - November 2014

3GPP TS 23.228 V12.5.0 (2014-06)

Page 64: WebRTC standards update - November 2014

P C E F

N A T

I P - C A N

WWSF

W1

W2

UE

WIC I / S - CSCF

eIMS - AGW

Iq

Mw eP - CSCF

H / V - PCRF

Gx

Rx

W3

IMS - ALG

WAF W4

W5

Reference Architecture

Page 65: WebRTC standards update - November 2014

codec 1

SRTP

IP IP UDP IP

UDP UDP UDP IP

UE eIMS - AGW peer

SRTP RTP

codec 1 codec 2

RTP

codec 2

BFCP

SCTP DTLS

IP

SCTP DTLS

IP

TCP

IP UDP UDP

BFCP

TCP

IP

UE eIMS - AGW peer

MSRP SCTP DTLS

IP

MSRP SCTP DTLS

IP

MSRP

TCP IP

UDP UDP

MSRP

TCP IP

UE eIMS - AGW peer

Interworking Towards Legacy IMS

Page 66: WebRTC standards update - November 2014

“the initial focus of the Task Group is to determine what the needs are for successful interoperability of WebRTC-to-SIP deployments” cover ing both Enterprises and Service Providers “recommendations, Reference Architecture Documents, Certifications, and/or White Papers”

SIP Forum WebRTC Task Group

Page 67: WebRTC standards update - November 2014

Alliance for Telecom Solutions

Page 68: WebRTC standards update - November 2014

68  

Page 69: WebRTC standards update - November 2014

“focuses on interoperability issues relating to the use of WebRTC” “the group is focused on enterprise WebRTC , interworking of WebRTC and other carrier technologies, and other existing videoconferencing systems” “develop an interoperability test framework and prepare for IOT events”

WebRTC Interop Activity Group

Page 70: WebRTC standards update - November 2014

RESTful Network API for WebRTC Signaling v.1.0 (Feb 2014)

OMA

Page 71: WebRTC standards update - November 2014

How does WebRTC relate to VoLTE and RCS?

GSMA

Page 72: WebRTC standards update - November 2014

This  slide  might  be  outdated   72  

Page 73: WebRTC standards update - November 2014

This  slide  might  be  outdated   73  

Page 74: WebRTC standards update - November 2014

74  

Page 75: WebRTC standards update - November 2014

75  

hap://www.gsma.com/newsroom/wp-­‐content/uploads//WebRTC-­‐Whitepaper-­‐v13.pdf  

Page 76: WebRTC standards update - November 2014

76  

Page 77: WebRTC standards update - November 2014

Thank You!

Victor  Pascual  Avila  [email protected]                @victorpascual    

Antón  Román  Portabales  [email protected]                @antonroman