SlideShare ist ein Scribd-Unternehmen logo
1 von 20
WebRTC Best Practices
Chad Hart

COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED.
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
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
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
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
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
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
“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
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
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
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
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
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
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
Design Trade-offs
Application
Performance

Client
Performance
COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED.

Server
Performance
15
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
Case Study – the Airline

17
COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED.

17
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
What Smarter People Are Doing

COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED.

19
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

Weitere ähnliche Inhalte

Mehr von Dialogic Inc.

Integrated Media Gateway and the Transition to IP
Integrated Media Gateway and the Transition to IPIntegrated Media Gateway and the Transition to IP
Integrated Media Gateway and the Transition to IPDialogic Inc.
 
How IBM and Dialogic Are Making Conferencing Smarter with AI
How IBM and Dialogic Are Making Conferencing Smarter with AIHow IBM and Dialogic Are Making Conferencing Smarter with AI
How IBM and Dialogic Are Making Conferencing Smarter with AIDialogic Inc.
 
Helping Service Providers to Empower, Engage, Excite
Helping Service Providers to Empower, Engage, ExciteHelping Service Providers to Empower, Engage, Excite
Helping Service Providers to Empower, Engage, ExciteDialogic Inc.
 
Real-time Communications Catching the Next Wave
Real-time Communications Catching the Next WaveReal-time Communications Catching the Next Wave
Real-time Communications Catching the Next WaveDialogic Inc.
 
Video Codecs and the Future by Vince Puglia
Video Codecs and the Future by Vince PugliaVideo Codecs and the Future by Vince Puglia
Video Codecs and the Future by Vince PugliaDialogic Inc.
 
MediaInteractive - Born for the New World
MediaInteractive - Born for the New WorldMediaInteractive - Born for the New World
MediaInteractive - Born for the New WorldDialogic Inc.
 
Moving Multimedia Applications to the Cloud
Moving Multimedia Applications to the CloudMoving Multimedia Applications to the Cloud
Moving Multimedia Applications to the CloudDialogic Inc.
 
Value Added Services and WebRTC
Value Added Services and WebRTCValue Added Services and WebRTC
Value Added Services and WebRTCDialogic Inc.
 
Monetizing the 4G Investment (Mobile Data, and VoLTE Roaming and Interworking)
Monetizing the 4G Investment (Mobile Data, and VoLTE Roaming and Interworking)Monetizing the 4G Investment (Mobile Data, and VoLTE Roaming and Interworking)
Monetizing the 4G Investment (Mobile Data, and VoLTE Roaming and Interworking)Dialogic Inc.
 
Achieving real time voice and video virtualized network functionality in nfv
Achieving real time voice and video virtualized network functionality in nfvAchieving real time voice and video virtualized network functionality in nfv
Achieving real time voice and video virtualized network functionality in nfvDialogic Inc.
 
WebRTC Conference & Expo / Miami 2015 / D1 3 - media servers
WebRTC Conference & Expo / Miami 2015 / D1 3 - media servers WebRTC Conference & Expo / Miami 2015 / D1 3 - media servers
WebRTC Conference & Expo / Miami 2015 / D1 3 - media servers Dialogic Inc.
 
WebRTC Infrastructure the Hard Parts: Media
WebRTC Infrastructure the Hard Parts: MediaWebRTC Infrastructure the Hard Parts: Media
WebRTC Infrastructure the Hard Parts: MediaDialogic Inc.
 
Web rtc infrastructure the hard parts v4
Web rtc infrastructure the hard parts v4Web rtc infrastructure the hard parts v4
Web rtc infrastructure the hard parts v4Dialogic Inc.
 
MWC Barcelona WebRTC Meetup 2015 - Scaling WebRTC with Media Servers
MWC Barcelona WebRTC Meetup 2015 - Scaling WebRTC with Media ServersMWC Barcelona WebRTC Meetup 2015 - Scaling WebRTC with Media Servers
MWC Barcelona WebRTC Meetup 2015 - Scaling WebRTC with Media ServersDialogic Inc.
 
DeveloperWeek 2015 - WebRTC - Where to start and how to scale
DeveloperWeek 2015 - WebRTC - Where to start and how to scaleDeveloperWeek 2015 - WebRTC - Where to start and how to scale
DeveloperWeek 2015 - WebRTC - Where to start and how to scaleDialogic Inc.
 
Server-side WebRTC Infrastructure
Server-side WebRTC InfrastructureServer-side WebRTC Infrastructure
Server-side WebRTC InfrastructureDialogic Inc.
 
Deploying WebRTC successfully – A web developer perspective
Deploying WebRTC successfully – A web developer perspectiveDeploying WebRTC successfully – A web developer perspective
Deploying WebRTC successfully – A web developer perspectiveDialogic Inc.
 
WebRTC Expo V keynote by Jim Machi
WebRTC Expo V keynote by Jim MachiWebRTC Expo V keynote by Jim Machi
WebRTC Expo V keynote by Jim MachiDialogic Inc.
 
Get Ready for the Next Generation Diameter Signaling Controller (DSC)
Get Ready for the Next Generation Diameter Signaling Controller (DSC)Get Ready for the Next Generation Diameter Signaling Controller (DSC)
Get Ready for the Next Generation Diameter Signaling Controller (DSC)Dialogic Inc.
 

Mehr von Dialogic Inc. (20)

Integrated Media Gateway and the Transition to IP
Integrated Media Gateway and the Transition to IPIntegrated Media Gateway and the Transition to IP
Integrated Media Gateway and the Transition to IP
 
How IBM and Dialogic Are Making Conferencing Smarter with AI
How IBM and Dialogic Are Making Conferencing Smarter with AIHow IBM and Dialogic Are Making Conferencing Smarter with AI
How IBM and Dialogic Are Making Conferencing Smarter with AI
 
Helping Service Providers to Empower, Engage, Excite
Helping Service Providers to Empower, Engage, ExciteHelping Service Providers to Empower, Engage, Excite
Helping Service Providers to Empower, Engage, Excite
 
Real-time Communications Catching the Next Wave
Real-time Communications Catching the Next WaveReal-time Communications Catching the Next Wave
Real-time Communications Catching the Next Wave
 
Video Codecs and the Future by Vince Puglia
Video Codecs and the Future by Vince PugliaVideo Codecs and the Future by Vince Puglia
Video Codecs and the Future by Vince Puglia
 
MediaInteractive - Born for the New World
MediaInteractive - Born for the New WorldMediaInteractive - Born for the New World
MediaInteractive - Born for the New World
 
Moving Multimedia Applications to the Cloud
Moving Multimedia Applications to the CloudMoving Multimedia Applications to the Cloud
Moving Multimedia Applications to the Cloud
 
Value Added Services and WebRTC
Value Added Services and WebRTCValue Added Services and WebRTC
Value Added Services and WebRTC
 
Monetizing the 4G Investment (Mobile Data, and VoLTE Roaming and Interworking)
Monetizing the 4G Investment (Mobile Data, and VoLTE Roaming and Interworking)Monetizing the 4G Investment (Mobile Data, and VoLTE Roaming and Interworking)
Monetizing the 4G Investment (Mobile Data, and VoLTE Roaming and Interworking)
 
Achieving real time voice and video virtualized network functionality in nfv
Achieving real time voice and video virtualized network functionality in nfvAchieving real time voice and video virtualized network functionality in nfv
Achieving real time voice and video virtualized network functionality in nfv
 
WebRTC Conference & Expo / Miami 2015 / D1 3 - media servers
WebRTC Conference & Expo / Miami 2015 / D1 3 - media servers WebRTC Conference & Expo / Miami 2015 / D1 3 - media servers
WebRTC Conference & Expo / Miami 2015 / D1 3 - media servers
 
WebRTC Infrastructure the Hard Parts: Media
WebRTC Infrastructure the Hard Parts: MediaWebRTC Infrastructure the Hard Parts: Media
WebRTC Infrastructure the Hard Parts: Media
 
Web rtc infrastructure the hard parts v4
Web rtc infrastructure the hard parts v4Web rtc infrastructure the hard parts v4
Web rtc infrastructure the hard parts v4
 
MWC Barcelona WebRTC Meetup 2015 - Scaling WebRTC with Media Servers
MWC Barcelona WebRTC Meetup 2015 - Scaling WebRTC with Media ServersMWC Barcelona WebRTC Meetup 2015 - Scaling WebRTC with Media Servers
MWC Barcelona WebRTC Meetup 2015 - Scaling WebRTC with Media Servers
 
DeveloperWeek 2015 - WebRTC - Where to start and how to scale
DeveloperWeek 2015 - WebRTC - Where to start and how to scaleDeveloperWeek 2015 - WebRTC - Where to start and how to scale
DeveloperWeek 2015 - WebRTC - Where to start and how to scale
 
Server-side WebRTC Infrastructure
Server-side WebRTC InfrastructureServer-side WebRTC Infrastructure
Server-side WebRTC Infrastructure
 
Beyond the MCU
Beyond the MCUBeyond the MCU
Beyond the MCU
 
Deploying WebRTC successfully – A web developer perspective
Deploying WebRTC successfully – A web developer perspectiveDeploying WebRTC successfully – A web developer perspective
Deploying WebRTC successfully – A web developer perspective
 
WebRTC Expo V keynote by Jim Machi
WebRTC Expo V keynote by Jim MachiWebRTC Expo V keynote by Jim Machi
WebRTC Expo V keynote by Jim Machi
 
Get Ready for the Next Generation Diameter Signaling Controller (DSC)
Get Ready for the Next Generation Diameter Signaling Controller (DSC)Get Ready for the Next Generation Diameter Signaling Controller (DSC)
Get Ready for the Next Generation Diameter Signaling Controller (DSC)
 

Kürzlich hochgeladen

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 

Kürzlich hochgeladen (20)

Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 

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

  • 1. WebRTC Best Practices Chad Hart COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED.
  • 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. 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. 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. 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. 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. 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. “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. 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. 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. 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. 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. 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. 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. Design Trade-offs Application Performance Client Performance COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. Server Performance 15
  • 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. Case Study – the Airline 17 COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 17
  • 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. What Smarter People Are Doing COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 19
  • 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

Hinweis der Redaktion

  1. \
  2. Dialogic’sPowerMedia XMS provides widely needed capabilities in many applications. While WebRTC is designed to be primarily browser-to-browser, there is a growing number of user cases that require server side media support or that would be greatly enhanced by it.Dialogic’s key capabilities include:Multi-party mixing – traditional MCU-type functionality; mixing streams from various sources into one or more streams and relaying them to users to avoid the mesh overloading problems that occur if you keep everything peer-to-peerTranscoding – converting one codec to another. In the absence of a mandatory video codec today this is important for converting the VP8 codec supported in browsers to H.265 used in existing video conferencing systems and supported by battery saving smartphone hardware. Transcoding is also important to converting WebRTC’s audio codecs (G.711 or Opus) to codecs used in today’s mobile networks, landline, and enterprise environments. New codecs are introduced all the time, so this is a practical problem that will not go away any time soon.Interworking with existing telephony environments – including encryption, media plane, and signaling interworking with the 6B+ users who can be reached via a SIP-based networkRecording – Recording is critical in contact center environments for regulatory purposes. It is also a Stream processing – monitoring and manipulating a stream in real time, be it via a text overlay or inserting an add into the stream or doing manipulation of the video or utilizing avatars.Person-to-machine applications – while WebRTC was originally made for browser-to-browser communications, there are many person-to-machine applications that might not involve another person at all, like today’s IVRs, Text-to-Speech, speech recognition systems, or machine vision, analytics and more.
  3. &
  4. Latin American Airline Call centerMove to video kiosks in airports Cheaper than putting live agents Allows easy access to travelersLeverage existing contact center infrastructure Augments current capabilities Adds video calling to agents keeping existing ACD systems Provides audio & video to kiosksTarget: high value international travelers & touristsPhase II: Expand to tablets/mobileBusiness model: leverage existing agents & infrastructure; expand presence for more revenueEnd-to-end control of devicesMitigates interoperability issuesReduces security exposureLeverage existing infrastructureUse WebRTC to augment & extendMedia quality is difficult to control over the internetHD video not always necessaryFall back to voice
  5. Latin American Airline Call centerMove to video kiosks in airports Cheaper than putting live agents Allows easy access to travelersLeverage existing contact center infrastructure Augments current capabilities Adds video calling to agents keeping existing ACD systems Provides audio & video to kiosksTarget: high value international travelers & touristsPhase II: Expand to tablets/mobileBusiness model: leverage existing agents & infrastructure; expand presence for more revenueEnd-to-end control of devicesMitigates interoperability issuesReduces security exposureLeverage existing infrastructureUse WebRTC to augment & extendMedia quality is difficult to control over the internetHD video not always necessaryFall back to voice