News for hackers. Stuff that matters.
Re:What is WebRTC? by sciurus on Tuesday January 14, 2014 @03:34PM (#7059519)
This reads much more like an ad for Pubnub than an explanation of WebRTC. For anyone looking for an introduction to WebRTC, this presentation by Dan Burnett and Alan Johnston showed up in my twitter feed today- http://adhearsionconf.com/events/tbd-6/
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)
Re:What is WebRTC? by Sir_Cmpwn on Tuesday January 14, 2014 @03:41PM (#7059556)
I recently played around with WebRTC to let you upload files to MediaCrush directly from your microphone: https://mediacru.sh

Here's the code, if anyone wants to give it a read: https://github.com/MediaCrush/MediaCrush/pull/488

Re:What is WebRTC? by asadotzler on Tuesday January 14, 2014 @01:41PM (#7058832)
Data channel is going to change everything when it's ubiquitous.
Re:What is WebRTC? by eps on Tuesday January 14, 2014 @05:42PM (#7060321)
WebRTC is a great idea that will remain an esoteric option, because it will never become a universally supported technology, because Microsoft will never add it to the IE, because they bought Skype. The end.

Seriously though, the chances of Microsoft adding real working WebRTC support to the IE are zero.

Re:What is WebRTC? by arnaudbud on Thursday January 16, 2014 @10:14AM (#7069766)
Try a WebRTC Video Conference in one click : http://blog.bistri.com/webrtc-demo

You have ideas with WebRTC, try the Bistri APIs : http://developers.bistri.com

Re:What is WebRTC? by teabait on Tuesday January 14, 2014 @05:05PM (#7060125)
Project I worked on that allows users to record music in browser using WebRTC. Because we're using both WebRTC && Web Audio API, it only works in Chrome:

http://beatcove.herokuapp.com

Re:What is WebRTC? by gcp on Wednesday January 15, 2014 @09:40AM (#7063548)
Because we're using both WebRTC && Web Audio API, it only works in Chrome

Firefox supports both of these things, so you're basically saying your code is broken.

Re:What is WebRTC? by fit2rule on Wednesday January 15, 2014 @05:45AM (#7062638)
Looks amazing .. I've sent it to some music buddies of mine, I hope you get some new users out of it.

Plugins/effects?

Re:What is WebRTC? by tokenizerrr on Tuesday January 14, 2014 @01:05PM (#7058591)
What if both users are behind a firewall which does not allow them to receive incoming connections?
Re:What is WebRTC? by sciurus on Tuesday January 14, 2014 @03:35PM (#7059525)
See slides 27 through 36 in the presentation I linked to.
Re:What is WebRTC? by tokenizerrr on Tuesday January 14, 2014 @11:01PM (#7061593)
Thanks, that was helpful.
Re:What is WebRTC? by sktrdie on Tuesday January 14, 2014 @01:14PM (#7058642)
Then you need a TURN server to proxy the data.