Live data from Hacker News

WebRTC DataChannels just hit Chrome stable

cdn.peerjs.com

11–20 of 26 posts

Re: WebRTC DataChannels just hit Chrome stable

#11
post #2

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

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.

I always thought it would be cool to do distributed cache in browsers with this technology. It would be like an organic CDN, automatically making the internet faster.

Re: WebRTC DataChannels just hit Chrome stable

#13
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

Re: WebRTC DataChannels just hit Chrome stable

#14
post #2

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

While it's not BitTorrent, I have a simple file sharing implementation and slides about data channels here: http://rohanradio.com/rtc-p2p

Re: WebRTC DataChannels just hit Chrome stable

#15
post #11

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.

I always thought it would be cool to do distributed cache in browsers with this technology. It would be like an organic CDN, automatically making the internet faster.

That's precisely what I'm building https://github.com/DanielRapp/peerbalanced ;)

Re: WebRTC DataChannels just hit Chrome stable

#16
post #11

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.

I always thought it would be cool to do distributed cache in browsers with this technology. It would be like an organic CDN, automatically making the internet faster.

Cache poisoning with spam in 3, 2, 1...

Re: WebRTC DataChannels just hit Chrome stable

#17
post #11

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.

I always thought it would be cool to do distributed cache in browsers with this technology. It would be like an organic CDN, automatically making the internet faster.

Might want to check this out: https://github.com/PeerKit/peercdn

It's written with PeerJS, by one of the other creators of PeerJS, same as OP.

Re: WebRTC DataChannels just hit Chrome stable

#18
post #17
post #11

Earlier quoted context omitted.

I always thought it would be cool to do distributed cache in browsers with this technology. It would be like an organic CDN, automatically making the internet faster.

Might want to check this out: https://github.com/PeerKit/peercdn It's written with PeerJS, by one of the other creators of PeerJS, same as OP.

Looks neat, do you know if they're planning on open sourcing the server implementation as well?

Re: WebRTC DataChannels just hit Chrome stable

#19
post #2

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

Feel free to fork mine: https://github.com/hcliff/ampere

It's the only one I've seen that abides to the bittorrent spec (where possible). BEP 9 and 10 support incoming.

(Demo's broken, need to push a fix :()

Re: WebRTC DataChannels just hit Chrome stable

#20
post #2

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

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.

There is a hack to get around this (in Chrome) by increasing the SDP channels transfer rate (I think), still doesn't solve the MTU/reliable issue though. I originally found it via ShareFest - https://github.com/Peer5/ShareFest/issues/10 & have it integrated (in library form) here - https://github.com/erbbysam/webRTC-data.io I haven't tested this yet on Chrome Stable though.
Post reply on HN