Open EmmanuelMess opened 5 years ago
Hi @EmmanuelMess, I haven't been able to solve this problem yet. It is happening on my machine as well.
Count me in too, i don't know why but if i double-click to restart sending the interrupted file when another file before is running the sending file, sometimes it completes, who knows why, but almost all the times if fails...
@velitasali Any ideas on what is the problem?
@EmmanuelMess There is an ongoing issue with IO during transfer.
On this line, bytesToReceive()
always returns a positive number though there is not, creating an issue on the other side of the connection. To prevent that I added checks after that if
statement, still, we have issues.
https://github.com/genonbeta/TrebleShot-Desktop/blob/24a646a0d392fb2834e0de33a4058ec06882056c/src/broadcast/SeamlessServer.cpp#L159
I am still not sure how to fix that.
@velitasali Ok, I don't have much experience with Qt. And I haven't run the code. But, if I may give some advice. Are you compressing, or better, tarring, before sending? So that we can rule out metadata problems.
PC: Ubuntu 18.04 with Unity 7 linux 4.15 Phone: LG K11α
Transferring a few images, some always fail: And they seem to be always the same photos:
I received these (partial) files (compressed to be able to upload to GitHub).