a jquery for webrtc

35
A jQuery for WebRTC Thomas Gorissen

Upload: thomas-gorissen

Post on 17-Jul-2015

6.958 views

Category:

Technology


5 download

TRANSCRIPT

Page 1: A jQuery for WebRTC

A jQuery for WebRTCThomas Gorissen

Page 2: A jQuery for WebRTC

Thomas is a web dev for 16 years loves great UX organizes JSConf.Asia mentors at SEA’s startup accelerator JFDI lives in Singapore helps developers use WebRTC

Page 3: A jQuery for WebRTC

A set of JavaScript APIs in the browser to enable

peer-2-peer data exchange

WebRTC

Page 4: A jQuery for WebRTC

Usual web communication

Page 5: A jQuery for WebRTC

Peer-2-peer mesh

Page 6: A jQuery for WebRTC

p2p’s lower latency is awesome for real-time data

exchange

WebRTC

Page 7: A jQuery for WebRTC

Real-time communication is 1-on-1 calling Conferencing In-game chatting Virtual co-working Synced music streaming Sensor data exchange Online video consultation e-Tutoring JS Remote Conf …

Page 8: A jQuery for WebRTC

Talk to anybody by typing their number into phone installing Skype and exchanging names

get Gmail address, add contact, use hangouts

Usual web communication

Page 9: A jQuery for WebRTC

Talk to host on Travelmob/Airbnb GrabTaxi/Uber driver Doctor on Medifi/Teladoc Restaurant on Hungrygowhere/Yelp Property agent on 99.co/RealtorCustomer support through Zopim/Freshdesk Your friends in WhatsApp/Line/Snapchat Seller on Carousel/eBay …

WebRTC

Page 10: A jQuery for WebRTC

enables embedded, contextual communication

WebRTC

Page 11: A jQuery for WebRTC

How to make WebRTC as easy to use as jQuery?!

Using WebRTC

Page 12: A jQuery for WebRTC

WebRTC conceptually

A B

Page 13: A jQuery for WebRTC

WebRTC conceptually

Known party

A B

Page 14: A jQuery for WebRTC

WebRTC conceptually

Known party

A B

Page 15: A jQuery for WebRTC

WebRTC conceptually

Known party

A B

Page 16: A jQuery for WebRTC

The easiest and most complete WebRTC platform for developers there is!

Page 17: A jQuery for WebRTC

#1: peer (client-side)

Using WebRTC

Page 18: A jQuery for WebRTC
Page 19: A jQuery for WebRTC

https://github.com/Temasys/SkylinkJS

We call it “A jQuery for WebRTC!”

Page 20: A jQuery for WebRTC

Subtle differences in

Using WebRTC today

Page 21: A jQuery for WebRTC

https://github.com/Temasys/AdapterJS

“Polyfill/Shims/Helpers for WebRTC”

Page 22: A jQuery for WebRTC

Not supported in IE/Safari

Using WebRTC today

Page 23: A jQuery for WebRTC

IE and Safari Plug-In Download

Temasys WebRTC Plug-In with AdapterJS

Page 24: A jQuery for WebRTC

#2: signaling (server-side)

Using WebRTC today

Page 25: A jQuery for WebRTC

Using WebRTC today

Signaling requires a server (e.g. EC2) needs to be scaled and maintained must work with the lingo of your client-side

should be low latency and secure

Page 26: A jQuery for WebRTC

Unlimited Signaling Backend-as-a-Service

skylink.io

Page 27: A jQuery for WebRTC

#3: If it doesn’t work on mobile it’s not worth doing

Using WebRTC today

Page 28: A jQuery for WebRTC

WebRTC on Android with

Using WebRTC today

Page 29: A jQuery for WebRTC

Skylink Native SDKsAsk us for beta access

for iOSfor Android

Page 30: A jQuery for WebRTC

#4: Not so fast! What about edge-cases?

Using WebRTC today

Page 31: A jQuery for WebRTC

Enterprise firewalls prevent peer-2-peer connection requests to come through

CPU/network can’t handle bigger multi-peer sessions

Using WebRTC today

Page 32: A jQuery for WebRTC

Enterprise firewalls prevent peer-2-peer connection requests to come through

CPU/network can’t handle bigger multi-peer sessions

Skylink STUN helps identifying connection options Skylink TURN can relay streams in very restrictive cases

Skylink SFU reduces the amount of data streams

Page 33: A jQuery for WebRTC

#5: I want to see!

Using WebRTC today

Page 34: A jQuery for WebRTC

Demos

Getaroom.io - Start a FREE call with up to 4 people - Try it Virtual coworking with SkylinkJS - Try it Selfie Remote Control Dashboard with SkylinkJS - Try it: Load on phone - Phone control

Codepen: 1-on-1 WebRTC audio/video calling

Demos bundled with SkylinkJS

Tutorials

Getting started with WebRTC and SkylinkJS Building a simple Peer-to-peer WebRTC chat

Sign up for skylink.io

Page 35: A jQuery for WebRTC

Thanks! :)

@temasysrtc @serrynaimo