ShareDropio / sharedrop

Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop
https://www.sharedrop.io
MIT License
10.28k stars 752 forks source link

Optimize transfer speed #31

Open szimek opened 9 years ago

szimek commented 9 years ago

In theory it should be possible to get ~100Mbps in local network...

https://mozilla.github.io/webrtc-landing/data_test.html http://googlechrome.github.io/webrtc/samples/web/content/datachannel

szimek commented 9 years ago

Could also use onbufferedamountlow event (available in Chrome 46) to know when to send more data, instead of sending block requests from the recipient.

davidak commented 3 years ago

My internet has an upstream of 50 Mbit/s, but it uses only 20-22 Mbit/s. So there is a bottleneck. Using Firefox 85.0.2 (NixOS GNU/Linux, 32 GB RAM) to Google Chrome 89.0.4389.90 (Windows 10, 48 GB RAM) over Internet (different ISPs). Transfer of 18 GB file was successful after about 2 hours.