westhawk integration

21
WEBRTC INTEGRATION OPTIONS Tim Panton, Westhawk Ltd – @steely_glint

Upload: tim-panton

Post on 11-May-2015

157 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Westhawk integration

WEBRTC INTEGRATION OPTIONSTim Panton, Westhawk Ltd – @steely_glint

Page 2: Westhawk integration

Demo – call a mobile

Demo calls my mobile from a browser

Page 3: Westhawk integration

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)

Page 4: Westhawk integration

Problem statement

HTTP(S) transport RIA 2.0 media Encrypted Opus VP8 ?

SIP RTP Cleartext Ulaw (729, amr?) H263/4

WebRTC Carrier IMS

Page 5: Westhawk integration

Unless and until those incompatibilities go away.

Gateway needed ?

Page 6: Westhawk integration

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

Page 7: Westhawk integration

SIP in the browser

BrowserJS SIP

BrowserJS SIP IMSIMSWebSock

et ServerWebSocket ServerSIP in HTTPSIP in HTTP

UDP SIPUDP SIP

Page 8: Westhawk integration

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.

Page 9: Westhawk integration

SBCSBC

SIP in the browser with SBC

BrowserJS SIP

BrowserJS SIP IMSIMSWebSocke

t ServerWebSocket ServerSIP in HTTPSIP in HTTP

UDP SIPUDP SIPUDP

SIPUDP SIP

DMZ

Page 10: Westhawk integration

Remaining Problems

The media isn’t compatible What is Early media in a browser ? You have SIP credentials out on the

internet.

Page 11: Westhawk integration

SBCSBC

SIP in the browser with SBC, Media Gateway and Registration proxy

BrowserJS SIP

BrowserJS SIP IMSIMSWebSocke

t ServerWebSocket ServerSIP in HTTPSIP in HTTP

UDP SIPUDP SIPUDP

SIPUDP SIP

DMZ

Media

GW

Media

GWRIA 2.0 RTP ulaw

Proxy

Reg

Proxy

Reg

Page 12: Westhawk integration

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

Page 13: Westhawk integration

REST in the browser with Gateway

Browserapp

Browserapp IMSIMSWebRTC

gatewayWebRTC gatewayREST/HTTPREST/HTTP UDP

SIPUDP SIP

DMZ

Page 14: Westhawk integration

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)

Page 15: Westhawk integration

XMPP in the browser with SBC

Browserapp

Browserapp IMSIMSWebRTC

gatewayWebRTC gateway

XMPP/BOSH/HTTP

XMPP/BOSH/HTTP

UDP SIPUDP SIP

DMZ

Page 16: Westhawk integration

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

Page 17: Westhawk integration

WebRTC isn’t mobile first yet.

Did we forget mobile?

Page 18: Westhawk integration

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

Page 19: Westhawk integration

DTLS can carry a certificate – but which one should be used?

Identity.

Page 20: Westhawk integration

Multiple identities on the webWhen I call from a webpage, which identity do I want to present?E164 to the shopFacebook Id to my fb friendsAnon to the gamePseudo id to dating site

Do I ever want to present facebook ID to G+ users?

Page 21: Westhawk integration

Demo

Phono using a Jira identity. (perhaps)