Closed Rossella-Mascia-Neosyn closed 2 months ago
In general, the current implementation of many functions in this library is not optimized for large chunks / files, as data passed between JS and native layers are encoded / decoded into Base64, which is a performance and memory hit. So, read your file in chunks, and perhaps also decrease the size of upload chunks, if you need faster result for each of them.
Excuse me if I put this question here, but I don’t know where to insert it.
I have to upload videos to aws/cloudflare but the loading is really slow, this is due to two factors:
What I want to know is how to optimize file reading from my device?