WebRTC – Browser Peer 2 Peer with no plugins



WebRTC – Browser Peer 2 Peer with no plugins

0 1


webRTCViewerPresentation

This is the presentation seen by each viewer from their phones

On Github Snesi / webRTCViewerPresentation

WebRTC

Browser Peer 2 Peer with no plugins

Created by David G. Shannon / @davidgshannon

Presentation instructions

wifi:

HTTPS

What up G?!

G can stand for several things like Gram, Gravitational Acceleration, Gonzalez...

It can be anything really, but it's probably Gamma Hydroxybutyrate

Yeah! David Gamma Hydroxybutyrate Shannon

Snesi / @davidgshannon

What is webRTC?

Plugin-free realtime communication

Three APIs that allow p2p browser communication

  • MediaStream (aka getUserMedia)
  • RTCPeerConnection
  • RTCDataChannel

No...

How does it work?

MediaStream

MediaStream

This is your browser (Mr. B) speaking... look at the main screen, there's nothing here to see.

Mr. B: Can't see you...

MediaStream

Mr. B: Nothing to see here either...

Mr. B: Hello...? It's me...

RTCPeerConnection

RTCPeerConnection Sample

Mr. B: Blablabla, technical stuff... just ignore him...

Mr. B: Want to go to your facebook? Click here

...

Who uses WebRTC?

  • Google
  • Facebook
  • Citrix
  • Tokbox
  • Twilio
  • Amazon
  • Comcast
  • Oracle

How does it work?

Browser internals

Getting IP from STUN Servers

Establishing conexion

What's next?

...porn

How was this presentation made?

WebRTC is hard

Slides hosted on

webRTCPresentation

webRTCViewerPresentation

WebRTC Browser Peer 2 Peer with no plugins Created by David G. Shannon / @davidgshannon