schlagmichdoch / PairDrop

PairDrop: Local file sharing in your browser. Inspired by Apple's AirDrop. Fork of Snapdrop.
https://pairdrop.net
GNU General Public License v3.0
3.66k stars 193 forks source link

[Enhancement] Increase limit for sending to iPhones (200MB) by rewriting FileChunker / FileDigester #294

Open schlagmichdoch opened 1 month ago

schlagmichdoch commented 1 month ago

This issue was deleted by GitHub (via hubot) as part of mistakenly marking this account as spam on 17th February 2024. The creation date is unclear. There are also links to the deleted issue that are not updated to this issue. I decided to manually recreate it anyway in order to complete the information the repo holds even though the restored information might be outdated:

Issue by @schlagmichdoch:

Also another thing I wanted to point out. When using https://sharedrop.io (which is another website with a GitHub very similar to PairDrop) between an iOS & Android device, there is no 200MB limitation. With PairDrop is there a way to remove this like with ShareDrop? I tested it on this website and it worked fine with a file over 200MB. Both use WebRTC right? So would this be possible?

Originally posted by @Cohenl19 in https://github.com/schlagmichdoch/PairDrop/issues/210#issuecomment-1831516611

See sharedrop.io and drop.lol

schlagmichdoch commented 1 month ago

The following comments were deleted by GitHub (via hubot) as part of mistakenly marking this account as spam on 17th February 2024. The correct thread order and the creation date is unclear. I decided to manually restore them anyway in order to complete the information this issue holds even though the restored information might be outdated:

Comment by @schlagmichdoch:

Also, do not just limit it by checking the OS as the memory limit is probably different on different devices (iPhone 8 has 2 GB of RAM - iPhone 15 has 8 GB of RAM). Is it possible to check the available memory dynamically?

Comment by @jayb-g:

There should definitely not be such a low file size limit or no limit at all especially on local network. Or high enough limit eg 5gb if, as pointed out by @schlagmichdoch websockets/webRTC is used and transfer can be chunked out. Auto pause-resume due to disconnection during a session would be a plus.