I wrote this a long time ago when I was beginning to learn webrtc. It's really straightforward and has examples for voice+video chat and voice only.
https://github.com/phowat/simple-webrtc-chat. Feel free to drop me an email if you have any questions (it's in my profile here.)
I'm working on an open-source WebRTC project [0], and my code contains audio-only chat and data channels setup [1] which can hopefully set you on the right path.
[0]: https://github.com/Gargron/baron [1]: https://github.com/Gargron/baron/blob/master/public/js/model...
Re:What is WebRTC?
by martindale on Tuesday January 14, 2014 @04:02PM
(#7059707)
I'm working on para.io [1] which is in this same space, solving the same problems. We should talk!
[1]: http://para.io
1. I wasn't able to find demos which do only audio 2. If I don't allow video and only audio in Firefox, none of the demos work at all, I can't hear anything 3. I wasn't able to find any basic example code on how to use data channels 4. Is there a Node module so I could talk to my Node server via data channels (and therefor via UDP) (http://stackoverflow.com/questions/20849039/node-js-module-f...)?
I'd appreciate hints and links to solve any of this problems :)