19 comments

[ 3.2 ms ] story [ 32.3 ms ] thread
This looks awesome.

Does anyone have recommendations for a Node module that'll do WebRTC? I've looked at a few, but would love to get opinions from actual humans who've used them.

Do you mean as a WebRTC client, rather than a signaling server?

I think for that we'd need an SCTP (and ICE, and most of libjingle) library in node, and I don't think node knows how to speak SCTP yet. Sure would be nice if it did -- would love to hear if anyone knows someone working on this.

It should work in Firefox Aurora as well, IIRC.
you need to enable the peerconnection flag in about:config for the nightlies
whats an example of a signaling server that could be used with something like this?
Check out peerjs.com. Provides a cloud server and has an open source signaling server.

Edit: this is a data solution for now though.

I implemented one for work. Basically, you have a websocket for each client, and any message received from client X is transmitted to clients Y and Z. There's not much to it at all; the magic happens client-side.
I'm confused as to why they didn't release a signaling server as well. Most servers I've seen for this are just simple WebSocket relays. Are they expecting to charge you to help implement the server? Or did they just think it was too complicated for developers to set up?
I'm curious when Android's Chrome will support this stuff.
(comment deleted)
Why are you still on Chrome 21? The latest stable version is 25, and it's only been fully available with version 25.
webkitPeerConnection00 isn't fully compatible with webkitRTCPeerConnection. Unless they add specialized code to work with PC00 (IMO not worth the effort), it likely won't work right.
I tried to run the example but it's not finding simplewebrtc.com/latest.js Anybody got the example to run? Will it work with the latest chrome or only the nightly?