Download - WebRTC Integration from Tim Panton
WEBRTC INTEGRATION
OPTIONS
Tim Panton, Westhawk Ltd – @steely_glint
Demo – call a mobile
Demo calls my mobile from a browser
Not everyone wants to interop
Games
Dating sites
Whiteboards
OTT
Mayday
For these sites a home grown signaling protocol may be simplest/best.
(highest value apps will be in this class)
Problem statement
HTTP(S) transport
RIA 2.0 media
Encrypted
Opus
VP8 ?
SIP
RTP
Cleartext
Ulaw (729, amr?)
H263/4
WebRTC Carrier IMS
Unless and until those incompatibilities go away.
Gateway needed ?
HTTP to SIP – SIP in the Browser
Use javascript to build SIP messages and protocol
Wrap in HTTP (or Web-sockets)
Send to webserver
Webserver unwraps and forwards to IMS
SIP in the browser
Browser
JS SIP IMS
WebSocket
Server SIP in HTTP
UDP
SIP
Problems
You still have a gateway – albeit a thin one.
You have javascript injecting SIP messages into IMS
The SDP isn’t compatible
The media isn’t compatible
What is Early media in a browser ?
You have your SIP credentials out on the internet.
SBC
SIP in the browser with SBC
Browser
JS SIP IMS
WebSocket
Server SIP in HTTP
UDP
SIP UDP
SIP
DMZ
Remaining Problems
The media isn’t compatible
What is Early media in a browser ?
You have SIP credentials out on the internet.
SBC
SIP in the browser with SBC, Media
Gateway and Registration proxy
Browser
JS SIP IMS
WebSocket
Server SIP in HTTP
UDP
SIP UDP
SIP
DMZ
Media
GW RIA 2.0 RTP ulaw
Proxy
Reg
REST in the browser
Use web ‘RESTful’ commands
Sent from the browser
To a webRTC gateway
Gateway generates the SIP IMS needs
Gateway controls transcode resource
REST in the browser with Gateway
Browser
app IMS
WebRTC
gateway REST/HTTP UDP
SIP
DMZ
Problems
Need to map from web Identity to SIP
Select a web identity provider
webRTC gateways don’t scale (yet)
No standard for REST messages
Home rolled protocol (may have holes)
XMPP in the browser with SBC
Browser
app IMS
WebRTC
gateway
XMPP/BOSH/H
TTP UDP
SIP
DMZ
Problems
Need to map from web Identity to SIP
Select a web identity provider
webRTC gateways don’t scale (yet)
More complex than necessary
Needless protocol mapping?
However
BOSH is tested
XMPP well defined and federates
WebRTC isn’t mobile first yet.
Did we forget mobile?
WebRTC on Mobile
Browser isn’t a natural interface
WebRTC codecs are heavy on battery
No native App friendly API (yet)
SIP (if used) not an efficient mobile protocol
Audio hardware on android variable
Both Chrome and firefox on Android support webRTC
Expect to see RIA 2.0 with native APIs
DTLS can carry a certificate – but which one
should be used?
Identity.
Multiple identities on the web
When I call from a webpage, which identity do I want
to present?
E164 to the shop
Facebook Id to my fb friends
Anon to the game
Pseudo id to dating site
Do I ever want to present facebook ID to G+ users?
Demo
Phono using a Jira identity. (perhaps)