Hacker News new | ask | show | jobs
by hazelcough 4839 days ago
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.

3 comments

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.
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.
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?
That's precisely what I'm building https://github.com/DanielRapp/peerbalanced ;)
Cache poisoning with spam in 3, 2, 1...