Building a WebRTC Communication and collaboration platform - techleash barcamp
1. Altanai Bisht
Telecom Research & Development
tara181989@gmail.com
http://altanaitelecom.wordpress.com
Unified Communication & Collaboration
2. What is the big deal with
WebRTC ?
4/19/2015
Altanai Bisht . website:http://
altanaitelecom.wordpress.com2
Provides Multimedia communication through browser API’s alone
No custom software , hardware
No plugin , installations , extensions
Standardized byW3C and IETF
IETF RTCWeb WG ( Internet world, IP protocols)
W3C WebRTC WG (web world, Browsers etc.)
Supported Browsers
Chrome Firefox Opera
Supported Mobile Platforms
Android iOS
3. How does WebRTC Call work ?
4/19/20153
Signal
Web Server/service based signaling brokering
Offer/Answer JSEP ( Java Session Establishment Protocol )
model with SDP ( Session Description Protocol )
protocol NOT defined
Media
Peer to peer media flow
SRTP/RTCP
Firewall and NAT/NAPT
Uses ICE for STUN /TURN mechanism
Browser Browser
Media Path
Signal Path Signal Path
Signalling server
Altanai Bisht .
http:// altanaitelecom.wordpress.com
4. Agenda for discussion today
How to build WebRTC
Comm. ?
Signalling Protocol
Infra.
Integration
Where can I use
WebRTC ?
Usecases
Comm. and
Collaboration
4/19/2015
Altanai Bisht . website:http://
altanaitelecom.wordpress.com4
5. 4/19/2015
Altanai Bisht . website:http://
altanaitelecom.wordpress.com5
• Signalling Protocol
• Infra.
• Integration
How to build WebRTC
Comm. ?
• Usecases
• Comm. and Collaboration
Where can I use
WebRTC ?
Signalling Protocol
WebRTC can utilize any web transport and has no
specified signalling mechanism .
•JSON
•REST
•SIP over Websocket
•Proprietary signalling
•Any other HTTP based signalling
6. 4/19/2015
Altanai Bisht . website:http://
altanaitelecom.wordpress.com6
• Signalling Protocol
• Infra.
• Integration
How to build WebRTC
Comm. ?
• Usecases
• Comm. and Collaboration
Where can I use
WebRTC ?
Infrastructure ..1
Signalling
Server
CSS
WebRTC
JS
Media Path
p2p
Signalling Path
WebSockets
CSS
WebRTC
JS
WebSockets
@altanai
7. 4/19/2015
Altanai Bisht . website:http://
altanaitelecom.wordpress.com7
• Signalling Protocol
• Infra.
• Integration
How to build WebRTC
Comm. ?
• Usecases
• Comm. and Collaboration
Where can I use
WebRTC ?
Infrastructure ..2
Signalling
Server
CSS ( Bootstrap)
WebRTC media
stack + JS API
JS ( Angular ,
JQuery ....)
Media Path
p2p
Signalling Path
WebSockets WebSockets
Amazon Ec2
Nodejs socketio server
TURN Server
Redis , MySQL , Mongo
HTTPs for screen
sharing
CSS ( Bootstrap)
WebRTC media
stack + JS API
JS ( Angular ,
JQuery ....)
@altanai
8. 4/19/20158
• Signalling Protocol
• Infra.
• Integration
How to build WebRTC
Comm. ?
• Usecases
• Comm. and Collaboration
Where can I use
WebRTC ?
Infrastructure ..3
WSSIP to SIP
Signalling
server ( proxy)
Session
Management
Media Server
( Transcoding
codecs)
Media
WebRTC
Signalling
I-SBC
( Session Border
Controller )
UE
IMS Network Operator
IMS
Media
IMS /NGN
core
Telecom
Application
Server
Signalling
Server
CSS
WebRTC media stack + WS SIP
API
Web Project Framework ( Spring
, struts )
WebSockets
Amazon Ec2
Apache tomcat / JBOSS WEB
Server
TURN Server
Web Project Database (
Postgress , MySQL
HTTPs for screen sharing
Altanai Bisht .
http:// altanaitelecom.wordpress.com
@altanai
9. 4/19/2015
Altanai Bisht . website:http://
altanaitelecom.wordpress.com9
• Signalling Protocol
• Infra.
• Integration
How to build WebRTC
Comm. ?
• Usecases
• Comm. and Collaboration
Where can I use
WebRTC ?
Use-Cases
Where can I
use WebRTC ?
Personal Use
Business Communication
10. 4/19/2015
Altanai Bisht .
http:// altanaitelecom.wordpress.com10
• Signalling Protocol
• Infra.
• Integration
How to build WebRTC
Comm. ?
• Usecases
• Comm. and Collaboration
Where can I use
WebRTC ?
Use-Cases
Where can I
use WebRTC ?
Healthcare
Call Centre communication
11. 4/19/2015
Altanai Bisht .
http:// altanaitelecom.wordpress.com11
• Signalling Protocol
• Infra.
• Integration
How to build WebRTC
Comm. ?
• Usecases
• Comm. and Collaboration
Where can I use
WebRTC ?
Use-Cases
Where can I
use WebRTC ?
Rpi
IoT
12. 4/19/2015
Altanai Bisht .
http:// altanaitelecom.wordpress.com12
• Signalling Protocol
• Infra.
• Integration
How to build WebRTC
Comm. ?
• Usecases
• Comm. and Collaboration
Where can I use
WebRTC ?
Communication &
Collaboration
TFX
WebRTC widget
based platform
https://chrome.google.com/webstore/detail/tfx-sessions/aochimdcllmgleokpnlabijehdlmkdga
13. 4/19/201513
WebRTC widget based platform
Container Chrome Extension
Altanai Bisht .
http:// altanaitelecom.wordpress.com
• Signalling Protocol
• Infra.
• Integration
How to build WebRTC
Comm. ?
• Usecases
• Comm. and Collaboration
Where can I use
WebRTC ?
Communication &
Collaboration
14. 4/19/201514
Flexible
Developer friendly
Immersive Experience
Altanai Bisht .
http:// altanaitelecom.wordpress.com
Communication &
Collaboration
• Signalling Protocol
• Infra.
• Integration
How to build WebRTC
Comm. ?
• Usecases
• Comm. and Collaboration
Where can I use
WebRTC ?
16. Extra
Concerns , Legal Issues and Market analysis
4/19/2015
Altanai Bisht .
http:// altanaitelecom.wordpress.com16
17. Concerns ?
4/19/2015
Altanai Bisht . website:http://
altanaitelecom.wordpress.com17
Firewall / policies blockage
NAT issue is major ICE is complicated
setup own STUN or TURN server
Security
SRTP / web breaker / DTLS too much and too ambiguous for a developer
No one talking about - SPAM control / Unwanted call screening / risk mitigation
RTP stream multiplexing
RTP + RTCP
Conferencing involves Multiple RTP streams. No standard network topology to work
Interworking
Simple to call between WebRTC bowers ( full audio and video )
Confusion on integration with OTT solutions (Skype, Viber, Google Jingle , XMPP
etc.)
SBC ( Media transponders and Proxy servers ) have demonstrated interworking with
NGN/IMS
More clarity required on integration with legacy PSTN and PLMN . Even GSM / UMTS
as they have different number formats ( ENUM can be used ) ISUP and legacy
codecs .
18. Legal Issues ?
4/19/2015
Altanai Bisht . website:http://
altanaitelecom.wordpress.com18
Who is hosting the comm platform?
Identity resolution for authentication?
Detecting the service
man-in-the-middle attacks
Network sniffing ( users location , device and call activity )
Lawful interception required in many Organizations
Session Replay
Media Interception
Tough to track where is signal passing through in IP network?
Media Encryption (DTLS) Who has the keys ?
Media Server employed to force relays adding to complexity
RTP multiplexing is hugely a black box