Live data from Hacker News

WebRTC DataChannels just hit Chrome stable

cdn.peerjs.com

21–26 of 26 posts

Re: WebRTC DataChannels just hit Chrome stable

#21
post #4

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...

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

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).

Re: WebRTC DataChannels just hit Chrome stable

#25
post #9

Earlier quoted context omitted.

Make haste! People on Canary had a head start :P. Also note that currently DataChannels do not support reliable transfer and have a small MTU, so sending enormous files does not yet work. With PeerJS you can send smaller files, but larger ones will take an unreasonable amount of time.

And it's been in Firefox for a while too. (Nightly only, maybe?)

It is currently enabled in nightly (Fx22) and Aurora (fx21). No promises it won't get turned off in Fx21 before ship but that appears to be the current target release.

Re: WebRTC DataChannels just hit Chrome stable

#26

Earlier quoted context omitted.

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

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).

No, in a single laptop with two different tabs of chrome browser.
Post reply on HN