Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

WebRTC Best Practices - WebRTC Paris 2013 - Chad Hart - Dialogic

1,961 views

Published on

Chad's presentation from the WebRTC Paris show covering interoperability issues, WebRTC gateway trends, WebRTC security models, server-side media processing, a video kiosk case study, and future WebRTC applications

Published in: Technology
  • Be the first to comment

  • Be the first to like this

WebRTC Best Practices - WebRTC Paris 2013 - Chad Hart - Dialogic

  1. 1. WebRTC Best Practices Chad Hart COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED.
  2. 2. Current & Emerging WebRTC Media Processing Needs Multi-party mixing Transcoding Interworking Recording Stream processing Person-to-machine PowerMedia™ XMS COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 2
  3. 3. API’s and Interfaces for Media Developers Telephony Developers Enterprise Developers Standard Media Server Interfaces Back-end Web Developers RESTful APIs PowerMedia™ XMS COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 3
  4. 4. We help with traditional media processing too Mixing/MCU Recording/Playback Call Progress Analysis Text-to-Speech Automatic Speech Recognition Whisper mode High Availability … COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 4
  5. 5. Agenda Interoperability & Interworking Gateways Real WebRTC networks Tough choices Case study - WebRTC solves real problems today What you should really be working on COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 5
  6. 6. Interoperability – Browser to Browser • • Instigators • • Version differences Vendor implementation timelines Homebuilt implementations New browser introductions (hopefully!) API’s Media COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. • Need: Medium • Difficulty: Low to High • Resolution: JS Shim, use Chrome • Need: Low • Difficulty: High • Resolution: use Chrome 6
  7. 7. Interoperability – Browser to Phone • SIP complexity Instigators • Lack of standards to do this (of course they are coming) Signaling Media COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 7 • Need: Low to High • Difficulty: Medium to High • Resolution: H2S Gateway, Telco SHIM APIs • Need: Low to High • Difficulty: Low to High • Resolution: Media GW, Transcoding
  8. 8. “Legacy” Telephony Interworking Functions WebRTC Users Phone User Network HTTP-to-SIP (H2S) SRTP-DTLS UDP/TCP Media GW G.7XX/H.264 OPUS/VP8 Transcoder COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. RTP/SRTP-SDES 8 UDP
  9. 9. Many Packaging Options HTTP-to-SIP (H2S) Media GW Transcoder HTTP-to-SIP (H2S) HTTP-to-SIP (H2S) Media GW Media GW Transcoder Transcoder COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 9 HTTP-to-SIP (H2S) Media GW Transcoder
  10. 10. Will One H2S Gateway be Sufficient? Application specific APIs work best SIP is not really that standard Retail Click-to-Call Enterprise Click-to-Call Residential Web Phone RCS Web Client HTTP-to-SIP (H2S) Developer API exposure RFC3261 SIP Enterprise SIP Remote Agent Remote Worker COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. IMS/RCS 10
  11. 11. HTTP-to-SIP (H2S) Requirements are not Uniform WebRTC Users Phone User Network H2S H2S H2S Web Signaling H2S SIP Control Interfaces SRTP-DTLS UDP/TCP Media GW G.7XX/H.264 OPUS/VP8 Transcoder COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. RTP/SRTP-SDES 11 UDP
  12. 12. Security Functions Firewalls API Management Session Border Control All Traffic APIs VoIP Traffic Identifier Address:Port API Key Phone #, URI Controls Bandwidth, Address, Ports API Calls VoIP Messages, Bandwidth, Ports Topology Hiding No N/A Yes Scope COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 12
  13. 13. Basic, Telco-Centric Model Javascript App Web server SIP/IMS Network SIP H2S Firewall COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. SIP WebMG 13 SBC RTP
  14. 14. Mature, Web-Centric Model Web server Identity Server Internal REST APIs API Calls WSS server API Manager App Server STUN/ TURN Firewall COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. App Server H2S Server WebMG 14 SIP/IMS Network SIP
  15. 15. Design Trade-offs Application Performance Client Performance COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. Server Performance 15
  16. 16. When does media control matter? When there is limited bandwidth COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. When the user is paying per GB 16 When battery usage is a factor
  17. 17. Case Study – the Airline 17 COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 17
  18. 18. Case Study – the Airline Lessons Learned: • Applications are viable today when you have end-to-end control • Leveraging existing infrastructure shortens time-to-market • Assume you will have poor connectivity • Be careful with the cloud 18 COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 18
  19. 19. What Smarter People Are Doing COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 19
  20. 20. Contact me Chad Hart linkedin.com/in/chadwallacehart chad.hart@dialogic.com @chadwallacehart COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. webrtcHacks.com @webrtcHacks 20

×