News for hackers. Stuff that matters.
Re:What is WebRTC? by jeena on Tuesday January 14, 2014 @03:40PM (#7059554)
I am writing a real time browser game with synchronized physics and would like to use UDP via the data channels in WebRTC to send position data between the users (and also to the Node server) and to make in game audio chat possible.

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 :)

Re:What is WebRTC? by phowat on Tuesday January 14, 2014 @03:59PM (#7059678)
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.)
Re:What is WebRTC? by daveid on Tuesday January 14, 2014 @05:16PM (#7060188)
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

Re:What is WebRTC? by ilaksh on Tuesday January 14, 2014 @03:48PM (#7059602)