I have variable
var videoFile: AVAsset!
and it contains (loaded with) MP4 video, already, so no need any URL to download or save to local disc.
I have need to convert that videoFile to NSData using Swift. How to do this conversion?
I have variable
var videoFile: AVAsset!
and it contains (loaded with) MP4 video, already, so no need any URL to download or save to local disc.
I have need to convert that videoFile to NSData using Swift. How to do this conversion?