mercredi 26 août 2015

How to upload videos to AWS S3 bucket using swift language

I am using custom camera for capturing videos and images. If user captured videos or images I am sending to AWS S3 bucket. After that AWS generate URL. By using that url I am displaying videos and images in to entire my app. My problem is when uploading images to AWS no problem. But when uploading videos I faced a lot of problems. Suppose if user select video the duration of video is 6 seconds. It is uploading to AWS no problem. Suppose if user immediately select next videos the duration is 20 seconds, 10 sec, 4 sec like that. Some videos are not uploading if there is any error or network problem. Again I called that uploading method but some videos are still not uploading. How to solve that problem?




Aucun commentaire:

Enregistrer un commentaire