Skip to content
drop-in client code for
Pull request Compare This branch is 70 commits behind webRTC-io:master.
Latest commit 481a746 Aug 3, 2012 Dennis Mårtensson remove .swap
Failed to load latest commit information.
example remove .swap Aug 3, 2012
lib remove .swap Aug 3, 2012 add readme for seting the STUN server Jul 30, 2012
package.json Turn into npm library. Aug 2, 2012

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.