An abstraction layer for webRTC. Aim is to simplify the HTML5 web standard webRTC in a similar manner to socket.io w/ websockets. Highly experimental technology
<script src="/webrtc.io.js"></script>
<script>
rtc.createStream({"video": true, "audio":true}, function(stream){
// get local stream for manipulation
});
rtc.connect('ws://yourserveraddress:8001', optionalRoom);
//then a bunch of callbacks are available
</script>
should close
rtc.createStream()
function.