Westhawk integration

Preview:

Citation preview

WEBRTC INTEGRATION OPTIONSTim 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

BrowserJS SIP

BrowserJS SIP IMSIMSWebSock

et ServerWebSocket ServerSIP in HTTPSIP in HTTP

UDP SIPUDP 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.

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

Remaining Problems

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

internet.

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

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

Browserapp

Browserapp IMSIMSWebRTC

gatewayWebRTC gatewayREST/HTTPREST/HTTP UDP

SIPUDP 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

Browserapp

Browserapp IMSIMSWebRTC

gatewayWebRTC gateway

XMPP/BOSH/HTTP

XMPP/BOSH/HTTP

UDP SIPUDP 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 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?

Demo

Phono using a Jira identity. (perhaps)

Recommended