Closed aqib008 closed 10 months ago
Hey @aqib008 I'll be sure to look into this soon. Will keep you posted on any updates.
Hey @aqib008 I was able to follow up on this. I'm wondering if your issue might be related to you doing manual management of the pause()
and resume()
at the "app level." Upchunk will automatically take care of halting/resuming uploads whenever a offline
/online
event is dispatched. I've confirmed locally that this works for me at least. Would you mind trying that and letting me know if that resolves your issue?
Closing due to inactivity. Happy to re-open if the suggestion above does not resolve the issue.
Lets say I add 100 mb file to upload and after 50 mb network failure occurs, after restoring internet it restart again from very beginning, so we can it's restartable but not resumable. Is it expected behaviour or am i doing something wrong. I believe there is some error in library as it doesn't store any chunk related data to resume.
Here is my code:
Neither it's pause and resume methods are working.
I am using "@mux/upchunk": "^3.2.0",