Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upload more than 2 videos at the same time #135

Merged
merged 1 commit into from
Apr 16, 2019

Conversation

BaderSerhan
Copy link
Contributor

This PR ensures that more than 2 videos can be uploaded concurrently. The previous behavior was that when we upload the 3rd video, "Lost connection to background services" error appears and all the videos get stuck (this is another issue, please have a look #134 ).

Check out the difference between uploadTask and uploadStreamedTask on Apple's documentation, Upload Task vs. Upload Streamed Task.

I based my fix on this suggestion found in react-native-fetch-blob library's issues.

@BaderSerhan
Copy link
Contributor Author

@L-Yeiser here's the fix for multiple video uploads... You can check the fork here. Let me know what you think.

@TSMMark
Copy link
Contributor

TSMMark commented Mar 28, 2019

@BaderSerhan Thanks for submitting!

@L-Yeiser please loop back if you able to test this successfully

@emilemoureau
Copy link

Thank's!

@L-Yeiser
Copy link

L-Yeiser commented Apr 3, 2019

Will start testing it today. Thanks!

@L-Yeiser
Copy link

L-Yeiser commented Apr 8, 2019

Tested this in our staging environment and it works as expected. Unfortunately due to other issues around complete / error events not firing we cannot implement full testing in production.

@dcurletti
Copy link
Contributor

any ETA on this getting merged?

@StevePotter StevePotter merged commit a4014c7 into Vydia:master Apr 16, 2019
@StevePotter
Copy link
Contributor

@BaderSerhan
Copy link
Contributor Author

Glad could help, keep up the good work :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants