Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

drop-in client code for

branch: master

remove .swap

latest commit 481a74694f
Dennis Mårtensson authored
Octocat-spinner-32 example remove .swap
Octocat-spinner-32 lib remove .swap
Octocat-spinner-32 add readme for seting the STUN server
Octocat-spinner-32 package.json Turn into npm library.

A library that is to webRTC like is to WebSockets.

This will eventually be bundled with the server code.


Currently, depends on, so include the client as well. After including, drop in lib/io.js. You'll also need a server running.

Now you can start using webRTC commands with our abstraction.


rtc.on('ready', function() {
  // all streams are loaded

You can set the STUN server by calling rtc.SERVER = "STUN" and set your server. The default STUN server used by the library is one from google.

Something went wrong with that request. Please try again.