building a webrtc communication and collaboration platform - techleash barcamp
TRANSCRIPT
Altanai Bisht
Telecom Research & Development
http://altanaitelecom.wordpress.com
Unified Communication & Collaboration
What is the big deal with WebRTC ?
4/19/2015 Altanai Bisht . website:http:// altanaitelecom.wordpress.com 2
Provides Multimedia communication through browser API’s alone
No custom software , hardware
No plugin , installations , extensions
Standardized by W3C 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
How does WebRTC Call work ?
4/19/2015 3
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
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.com 4
4/19/2015 Altanai Bisht . website:http:// altanaitelecom.wordpress.com 5
• 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
4/19/2015 Altanai Bisht . website:http:// altanaitelecom.wordpress.com 6
• 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
4/19/2015 Altanai Bisht . website:http:// altanaitelecom.wordpress.com 7
• 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
4/19/2015 8
• 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
4/19/2015 Altanai Bisht . website:http:// altanaitelecom.wordpress.com 9
• 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
4/19/2015 Altanai Bisht . http:// altanaitelecom.wordpress.com 10
• 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
4/19/2015 Altanai Bisht . http:// altanaitelecom.wordpress.com 11
• 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
4/19/2015 Altanai Bisht . http:// altanaitelecom.wordpress.com 12
• 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
4/19/2015 13
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
4/19/2015 14
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 ?
Shameless Self Promotion
4/19/2015 Altanai Bisht . http:// altanaitelecom.wordpress.com 15
https://www.packtpub.com/web-development/webrtc-integrators-guide
Extra Concerns , Legal Issues and Market analysis
4/19/2015 Altanai Bisht . http:// altanaitelecom.wordpress.com 16
Concerns ?
4/19/2015 Altanai Bisht . website:http:// altanaitelecom.wordpress.com 17
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 .
Legal Issues ?
4/19/2015 Altanai Bisht . website:http:// altanaitelecom.wordpress.com 18
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
WebRTC Trends
4/19/2015 Altanai Bisht . website:http:// altanaitelecom.wordpress.com 19
Source : Webrtcstats.com
WebRTC Support chart
4/19/2015 Altanai Bisht . http:// altanaitelecom.wordpress.com 22 Source : iswebrtcreadyyet.com