View
493
Download
0
Category
Tags:
Preview:
DESCRIPTION
WebRTC is designed to be a peer-to-peer technology where media go directly from one client to another. However, WebRTC does allow Peer-to-Server flows and many uses are in fact optimized by server-side media processing technology. This short presentation describes server-side WebRTC media processing uses cases, provides real-world WebRTC deployment examples, and discusses WebRTC gateway models. Presented by Chad Hart at Enterprise Connect
Citation preview
COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED.
Peer-to-Server Media in WebRTC
Chad HartEnterprise Connect 2014
COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 2
Peer-to-Peer vs. Peer-to-Server
client client
signa
ling
signalingmedia
media
Media Server
Signaling Server
Peer-to-Server
Server
client client
signalin
gsignaling
media
Peer-to-Peer
COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 3
Design Trade-offs – Cost vs. Performance vs. Location
Application Performance
Server Performance
Client Performance
Higher infrastructure
costs
Battery lifeSpeed
Quality expectations
COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 4
When does server-side WebRTC make sense?
Limited bandwidth
Expensive bandwidth
Power limitations
Regulatory requirements
COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 5
PowerMedia™ XMS
Multi-party mixing InterworkingTranscoding
Stream processing Person-to-machineRecording
WebRTC Media Processing Use Cases
COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 6
Case Study – the Airline
6
Airline
Airline
TravelAgent
COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 7
Video-enabling a Contact Center
Web App Server
Media Control
WebRTC Signaling
HTTP/REST
Media Interface
SBC Media Server
SIP
RTP
Contact Center
WebRTC Signaling
SRTP
PSTN
PSTN Customers
Agents
ACD
Kiosk Customer
SRTP
RTP
SIPHTTP
HTTP/REST
COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 8
Case Study – the Airline
8
TravelAgent
TravelAgent
TravelAgent
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 variable cloud latencies
192.168.1.122Kindle Fire HDX
RFC5766-TURN-Server
ec2-54-227-235-160.compute-1.amazonaws.com
SBC?
na4.edge-gacd.amazon.com
Port 45563
Port 29548RTP - G.711u
Port 59522
Port 3478RTP Type -116, RTCP
RTP Type -100, RTCP
Web Signalin
g
Kconnect-us.amazon.com
Port 443
HTTPS
Port 46011
TLSPort 443
Port 40787
Port 29549RTCP
Amazon Kindle HDX Mayday button Wireshark trace
http://webrtchacks.com/mayday-trace/
192.168.1.122Kindle Fire HDX
RFC5766-TURN-Server
ec2-54-227-235-160.compute-1.amazonaws.com
SBC?
na4.edge-gacd.amazon.com
Port 45563
Port 29548RTP - G.711u
Port 59522
Port 3478RTP Type -116, RTCP
RTP Type -100, RTCP
Web Signalin
g
Kconnect-us.amazon.com
Port 443
HTTPS
Port 46011
TLSPort 443
Port 40787
Port 29549RTCP
Amazon Kindle HDX Mayday button Wireshark trace
http://webrtchacks.com/mayday-trace/
Audio
Video
COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 11
PowerMedia XMS
Virtualized Cloud-ready
AudioVideo
WebRTC
Robust Developer APIs
Standardized Production Interfaces
real-time media processing platform
COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 12
SIP Web Java Speech
Audio Video WebRTC CPA
PowerMedia™ XMS
Media Platform for Developers & IT
RESTful
Java (JSR.309)
VXML
MSML
NETANN
MRCPv2
JavascriptPow
erfu
l Med
ia A
PIs
PowerMedia XMS
Diverse Developer Audiences
Extensive Capabilities
COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 13
WebRTC Gateways
COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 14
“Legacy” Telephony Gateway Functions
HTTP-to-SIP(H2S)
Media GW
Transcoder
NetworkWebRTC Users Phone User
User-defined Signaling
WS/COMET/BOSH
SRTP-DTLS
UDP/TCP
SIP
RTP/SRTP-SDES
UDP
OPUS/VP8 G.7XX/H.264
COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 15
WebRTC Gateways Come in Many Packages
HTTP-to-SIP(H2S)
Media GW
Transcoder
HTTP-to-SIP(H2S)
Media GW
Transcoder
HTTP-to-SIP(H2S)
Media GW
Transcoder
HTTP-to-SIP(H2S)
Media GW
Transcoder
COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 16
Will One H2S Gateway be Sufficient?
Retail Click-to-Call
Enterprise Click-to-Call
Residential Web Phone
RCS Web Client
Developer API exposure
Remote Agent
Remote Worker
HTTP-to-SIP(H2S)
IMS/RCS
RFC3261 SIP
Microsoft SIP
Application specific APIs work best SIP is sort-of standard
COMPANY CONFIDENTIAL © COPYRIGHT 2013 DIALOGIC INC. ALL RIGHTS RESERVED. 17
Media Requirements More Uniform than H2S
H2S
Media GW
Transcoder
NetworkWebRTC Users Phone Users
Web Signaling
SRTP-DTLS
UDP/TCP
RTP/SRTP-SDES
UDP
OPUS/VP8 G.7XX/H.264
H2S
H2SSIP
H2S
Control Interfaces
Recommended