Hello. How can I compress video uploads from the camera?

Hello. For iOS - When uploading video from the camera taken with the sdk the uploads are much too large. A 15-second video is around 50mb. How can I compress it or change the uploaded resolution? Uploading through the gallery is fine its just when using the camera with or without effects when the video upload is huge. TYIA

1 Like

Hello @dcnative the DeepAR SDK

You can set the video compression properties and recording resolution using this method:

DeepAR will also return a path to the video file once you finish recording

You can then make changes to this file using your own code or 3rd party libraries.

1 Like