schlagmichdoch / PairDrop

PairDrop: Transfer Files Cross-Platform. No Setup, No Signup.
https://pairdrop.net
GNU General Public License v3.0
4.67k stars 260 forks source link

[Bug] Same file, same devices, same network but different transfer speed from mobile to desktop #244

Open valentino-90 opened 10 months ago

valentino-90 commented 10 months ago

Devices: One Plus Nord 3 - MacBook Air (Mid 2013 - Catalina OS)

-----> From Chrome on Macbook -> to One Plus (acceptable transfer speed with 37MB video)

-----> From One Plus (Chrome browser or mobile app Snapdragon & pairdrop) -> to MacBook (unacceptable transfer speed with 37MB video)

Considerations: analyzing the transfer speed, it is as if from mobile (browser or app) it does not use the local network, preferring via the internet. Why ???

akashkroos970 commented 10 months ago

yeah same issue

schlagmichdoch commented 9 months ago

Once your devices are connected the same connection is used for either transfer direction so the transfer speed should be the same.

To improve the current behavior and speed, I have completely rewritten the code that is responsible for sending and receiving the files which was quite basic. Would you be open to test the new version before release?

valentino-90 commented 9 months ago

yes! i can test it

---- off topic ---- Could it be compiled for windows and mac as if it were a native application (with electron or nodejs, or even if it were rewritten in flutter you could write a single code for android, ios, windows, mac and web). At this moment, it's a PWA, if I clean the Chrome history it also deletes the PWA history making permanent device pairing useless...

schlagmichdoch commented 9 months ago

yes! i can test it

Great! I will get back to you tomorrow!

---- off topic ---- Could it be compiled for windows and mac as if it were a native application (with electron or nodejs, or even if it were rewritten in flutter you could write a single code for android, ios, windows, mac and web). At this moment, it's a PWA, if I clean the Chrome history it also deletes the PWA history making permanent device pairing useless...

There are plans for a flutter app (#198) but I'm not sure how fast this will be implemented as it's adding a lot of complexity.

Regarding your situation:

schlagmichdoch commented 8 months ago

As the repository was falsely flagged and hidden for the last month I could not notify you.

@valentino-90 I would appreciate it, if you could test this feature on this instance: https://pairdrop-dev.onrender.com/

valentino-90 commented 8 months ago

HI! sorry for delay. Yes the speed is definitely improved from mobile ---> to ---> web. The problem now is that once I receive a file it asks me to download it, but when i click "download" i get an error "check internet connection" (i don't know if just for this dev testing step).

I attach some screenshots.

screen1 screen2

SPEED IS OK