webrtc integration from tim panton

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

Upload: alan-quayle

Post on 11-May-2015

1.339 views

Category:

Technology


2 download

DESCRIPTION

WebRTC Integration presentation from Tim Panton, given at WebRTC pre-conference workshop at Rich Communications.

TRANSCRIPT

Page 1: WebRTC Integration from Tim Panton

WEBRTC INTEGRATION

OPTIONS

Tim Panton, Westhawk Ltd – @steely_glint

Page 2: WebRTC Integration from Tim Panton

Demo – call a mobile

Demo calls my mobile from a browser

Page 3: WebRTC Integration from Tim Panton

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: WebRTC Integration from Tim Panton

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: WebRTC Integration from Tim Panton

Unless and until those incompatibilities go away.

Gateway needed ?

Page 6: WebRTC Integration from Tim Panton

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: WebRTC Integration from Tim Panton

SIP in the browser

Browser

JS SIP IMS

WebSocket

Server SIP in HTTP

UDP

SIP

Page 8: WebRTC Integration from Tim Panton

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: WebRTC Integration from Tim Panton

SBC

SIP in the browser with SBC

Browser

JS SIP IMS

WebSocket

Server SIP in HTTP

UDP

SIP UDP

SIP

DMZ

Page 10: WebRTC Integration from Tim Panton

Remaining Problems

The media isn’t compatible

What is Early media in a browser ?

You have SIP credentials out on the internet.

Page 11: WebRTC Integration from Tim Panton

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

Page 12: WebRTC Integration from Tim Panton

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: WebRTC Integration from Tim Panton

REST in the browser with Gateway

Browser

app IMS

WebRTC

gateway REST/HTTP UDP

SIP

DMZ

Page 14: WebRTC Integration from Tim Panton

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: WebRTC Integration from Tim Panton

XMPP in the browser with SBC

Browser

app IMS

WebRTC

gateway

XMPP/BOSH/H

TTP UDP

SIP

DMZ

Page 16: WebRTC Integration from Tim Panton

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: WebRTC Integration from Tim Panton

WebRTC isn’t mobile first yet.

Did we forget mobile?

Page 18: WebRTC Integration from Tim Panton

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: WebRTC Integration from Tim Panton

DTLS can carry a certificate – but which one

should be used?

Identity.

Page 20: WebRTC Integration from Tim Panton

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?

Page 21: WebRTC Integration from Tim Panton

Demo

Phono using a Jira identity. (perhaps)