Settings

Theme

PeerServer: A Server in a Browser with WebRTC

peer-server.com

100 points by bawllz 12 years ago · 26 comments

Reader

swestwood 12 years ago

I built PeerServer with a friend in 8 weeks last spring for our Stanford senior project -- it's a pleasant surprise to see it on HN six months later.

We are planning to open-source the code and create a brief video showing off its abilities this weekend, as well as fix some of the issues you may be having in more recent versions of Firefox. The WebRTC DataChannel spec has been changing, so it works in FF 22 (beta at the time we developed it) but breaks for some later versions where the API changed. It'll be fixed over the weekend for FF and the latest Chrome -- sorry for the issues some are having now.

Thanks for the great comments and enthusiasm!

graue 12 years ago

Won't connect for me (Fx 25, Linux). Blank white screen and this in the console:

TypeError: Not enough arguments to mozRTCPeerConnection.createOffer. @ http://www.peer-server.com/shared/lib/peer.min.js:1

  • azakai 12 years ago

    Same on FF 28, also Linux.

    • gagege 12 years ago

      FF 25.0.1 Windows, same :(

      Awesome idea though, I can't wait till it works cross-browser!

      • azakai 12 years ago

        Yeah, this is very exciting stuff, and bugs and problems are expected with something this cutting edge.

headgasket 12 years ago

Quite interesting idea.

On this we could have a distributed web server that scales as new ppl load the (site??). I can see this hurting akamai. People now have 10Mbps-20Mpbs up on DSL and cable; even before widespread FTOH this could become potent. It would also simplify a Tor alternative implementation, would'nt it?

  • phaer 12 years ago

    > People now have 10Mbps-20Mpbs up on DSL and cable; Are you talking about the bay area? I have never seen such an connection in a private home. (central and southern europe)

    • headgasket 12 years ago

      We have it here in Mtl Canada. It's fiber to the neighbourhood and a new hi-speed DSL link for the last 200-300M.

    • piranha 12 years ago

      Here in Ukraine that's pretty common. I have 60 mbps for 9$/m, and that is quite normal in Kyiv.

    • boulderdash 12 years ago

      guess what, in the bay area, connectivity up is generally even worse than that. For all the amazing internet companies here, the infrastructure for the public is pretty bad.

    • skimmas 12 years ago

      southern europe here (portugal) and in the cities it's pretty common

sil3ntmac 12 years ago

Congrats, I have been waiting to see someone build something like this for a while. This is truly a glimpse into the future :)

Edit: I should have vetted this a little harder before commenting. I recognized the idea immediately, but the implementation here is rather lacking. Still, props for pushing the envelop.

  • sil3ntmac 12 years ago

    Erm, you guys did disable TURN right? (because otherwise the security value here is fairly decreased)

panzi 12 years ago

Firefox 25 (Linux):

"[22:21:01.082] TypeError: Not enough arguments to mozRTCPeerConnection.createOffer. @ http://www.peer-server.com/shared/lib/peer.min.js:1"

0x0 12 years ago

Reminds me about Opera Unite.

minimaxir 12 years ago

Using profanity for needless shock value is not an effective way to get people to click your link.

wrongc0ntinent 12 years ago

Nice! Why not chrome, exactly?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection