Reduce time to export audio using AVAssetExportSession in iOS Swift
We have a project that records audios.
Below is a rough work flow of how this recorder works:
– User records audio.
– Stops audio.
– Plays audio.
– Continues to append in the same audio.
– Stops it.
– Saves it.
when we try to export audio, AVAssetExportsession takes long time to complete encoding/exporting. We have to reduce that time to max one second no matter how long the audio is.