PeerSquared
One on one online teaching through webRTC
PeerSquared uses webRTC:
Multiple webRTC peer connections for:
Local webcam stream
Remote webcam stream
Reliable (SCTP...
Currently only for PC:
Chrome
Firefox
Opera
(Interoperable between first two)
Works through Firewalls:
STUN (stun.l.g...
DEMO
www.peersquared.info
Problems I encountered:
Finding good documentation
Changing specs (work in progress)
Different vendor implementations
Missing onnegotiationneeded event
For now solved: multiple peer connections

Packet size limit of 16k (Chrome)
Solved by chunking data:
ArrayBuffer.slice(start, end)
String.slice(start, end)
Buf...
Some traps:
Firefox puts ICE candidates in session description,
so check:
First call pConnection.createDataChannel
or ...
THANK YOU!
Upcoming SlideShare
Loading in …5
×

Peer squared - One on one online teaching through webRTC

638 views
582 views

Published on

A short introduction about PeerSquared and how it uses webRTC for direct communication between browser clients.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
638
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Peer squared - One on one online teaching through webRTC

  1. 1. PeerSquared One on one online teaching through webRTC
  2. 2. PeerSquared uses webRTC: Multiple webRTC peer connections for: Local webcam stream Remote webcam stream Reliable (SCTP) datachannels  Datachannels to: Set up new peer connections Send files Send text chat messages Send whiteboard data
  3. 3. Currently only for PC: Chrome Firefox Opera (Interoperable between first two) Works through Firewalls: STUN (stun.l.google.com) TURN (numb.viagenie.ca)
  4. 4. DEMO www.peersquared.info
  5. 5. Problems I encountered: Finding good documentation Changing specs (work in progress) Different vendor implementations
  6. 6. Missing onnegotiationneeded event For now solved: multiple peer connections 
  7. 7. Packet size limit of 16k (Chrome) Solved by chunking data: ArrayBuffer.slice(start, end) String.slice(start, end) Buffer size limit of 256k (Chrome) Solved by checking the buffer:
  8. 8. Some traps: Firefox puts ICE candidates in session description, so check: First call pConnection.createDataChannel or pConnection.addStream, and then pConnection.createOffer  
  9. 9. THANK YOU!

×