Settings

Theme

WebRTC DataChannels just hit Chrome stable

cdn.peerjs.com

84 points by hazelcough · 25 comments

Reader

4 threads
marshray

The docs say "Note that the server is only for brokering connections and does not proxy data between peers."

So what browser API does the PeerJS use to exchange data with something other than a server, particularly another browser?

Is this it? https://tools.ietf.org/html/draft-jesup-rtcweb-data-protocol...

  • sendtopms

    I tried disconnecting the wifi after couple of messages. It is not working. It needs server always it seems. senthil, http://mocdoc.in

    • RaphiePS

      Just to clear up any misunderstanding, are you trying this on two laptops on your home network?

      If so, you still need wifi for the connection between them, The cool thing about PeerJS is that the data goes directly between the computers (A <--> B) without a server in between (A <--> S <--> B).

  • hazelcoughOP

    Yep, that's it.

bbarrows

Must stay up all night and develop first DataChannel based P2P BitTorrent style file sharing implementation tonight..

RaphiePS

Someone should build a meshnet!

VikingCoder

I get no text in the blue box, but my Chrome is past the required version...

Your browser version: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.43 Safari/537.31

Currently Google Chrome 26.0.1403.0 or above is required.

Keyboard Shortcuts

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