Answer the question
In order to leave comments, you need to log in
How to send a big video to api from react native?
Back-end - node.js (AWS)
Front-end - React
Such a situation, we had a video upload to the application initially only with a limit of up to 10mb there (for a couple of seconds)
Here the customer says you need to remove the limits completely so that you can upload 100-200mb
On api it was implemented through multi-upload on aws s3, from the browser through react we convert the video to base64 and send it in parts, it works fine But on the application if you try to convert such a video to base64 then the application
either
freezes or crashes
with react native make sending a stream, parts, to the backend
Answer the question
In order to leave comments, you need to log in
look here: https://gist.github.com/nandorojo/c641c176a053a9ab...
If you believe what is written there, you just need to transfer the path to the file to xhr. I didn't check.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question