android-multipicker-library
android-multipicker-library copied to clipboard
Picking Video taking lot of time
When picking audio and video of around 150mb with/without metadata and with/without preview image, taking around 10-20 sec. You should ask for max file size to pass at init of and chooser, so that one should not wait for the further processing.
The file is copied when selected, this is what you are experiencing. https://github.com/coomar2841/android-multipicker-library/issues/29
Will take a look at this problem and see what can be done. Thanks.
@coomar2841 Kindly have a look at this. You may ask for max allowed file size at init of any chooser, before processing further.
@coomar2841 Will 1.1.4 have fix for this?
Turns out, a lot of videos that are behind a content provider don't give a direct file link. Instead, you need to read it from the content provider.
@coomar2841 Thanks for looking into it. I am uploading file to s3 bucket. Shouldn't content provider path be enough? I don't see a reason to create a copy first.
@coomar2841 Is it possible to show a progress or status or have a responsive method?
+1 there should option like ensureMaxSize() in imagepicker or should be compress size