Currently I am in a big problem, I'm using AssetsPickerViewController to get images and videos from the gallery to later upload it to the server in a web query.
AssetsPickerViewController: https://github.com/DragonCherry/AssetsPickerViewController
My problem is that when I get the data from the video to upload it to the server, it is too big, a video of about 30 seconds has a weight of more than 50MB which I think is the reason for the error:
Connection to assetsd was interrupted or assetsd died
Message from debugger: Terminated due to memory issue
I think the way I could solve this problem would be to reduce the weight of the video but I still can not find how to do it.
I thank you in advance for your help.