I have a variable
var videoFile: AVAsset!
and it already contains (uploaded) MP4 video, so there’s no need to download or save the URL to your local drive.
I need to convert this videoFile to NSData strong> using Swift . How to do this conversion?
source
share