7 ms·
SimpleWebRTC.js
- kevincennis 14y agoThis 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.
- cjbprime 14y agoDo 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.
- mehrzad 14y agoIt should work in Firefox Aurora as well, IIRC.
- HenrikJoreteg 14y agoyou need to enable the peerconnection flag in about:config for the nightlies
- hnwh 14y agowhats an example of a signaling server that could be used with something like this?
- hazelcough 14y agoCheck out peerjs.com. Provides a cloud server and has an open source signaling server. Edit: this is a data solution for now though.
- chad_oliver 14y agoI 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.
- HenrikJoreteg 14y agoHere it is, it's really simple: https://github.com/andyet/signalmaster https://github.com/andyet/signalmaster It's what we use for this (I wrote it).
- rudasn 14y agoCool stuff! I used another lib [1] to create something very similar [2] last weekend. I needed an excuse to play around with node.js/express/socket.io and couldn't resist after I saw the WebRTC Chrome/Firefox demo. [1] https://github.com/wearefractal/holla/ https://github.com/wearefractal/holla/ [2] http://videochatrtc.jit.su/room/HN http://videochatrtc.jit.su/room/HN
- silverlight 14y agoI'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?
- adambrault 14y agoHere you go: https://github.com/andyet/signalmaster https://github.com/andyet/signalmaster
- silverlight 14y agoCool :-)
- pfraze 14y agolooks great. Also want to point out https://github.com/peers/peerjs https://github.com/peers/peerjs, which is focused on the data-channel part of WebRTC
- davidw 14y agoI'm curious when Android's Chrome will support this stuff.
- vitno 14y agowebrtc.io https://github.com/webRTC/webRTC.io https://github.com/webRTC/webRTC.io
- deleted 14y ago[deleted]
- mtgx 14y agoWhy are you still on Chrome 21? The latest stable version is 25, and it's only been fully available with version 25.
- kelnos 14y agowebkitPeerConnection00 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.
- freefrancisco 14y agoI 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?