imaginary-cloud / CameraManager

Simple Swift class to provide all the configurations you need to create custom camera view in your app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What is your recommendation for compressing and uploading videos to a server ?

MehdiChennoufi opened this issue · comments

Hey guys,

Thank you for your work, everything works fine for me but I'am curious, I am using Alamofire in my project and I would like to upload the videos taken by CameraManager to a server without saving them into the device library, but first I wan to convert them.

1/ Is CameraManager handle video compression ? If not, what are you recommend to me to do that ?

2/ When the video compression is handle, should I put my server URL in the .stopRecording completion or should I use the Alamofire.upload instead ?

In fact, have you an idea of what is the best way to do what I want using both CameraManager and Alamofire ? 🤔 I'm not much familiar with video uploads yet.

Thank you