ARVideoKit
ARVideoKit copied to clipboard
preview video inapp before saving to photo library
Hello I Started to use ARVideokit in my project but can you help me to preview the video inapp before saving to photo library. I want to add the share button while previewing the video inside the app and then add a save button to save it to photo library
Hello I have to know too. Same Issue.
Use the closure to get the URL and pass it to an AVPlayer:
func tapButton(isRecording: Bool) {
if isRecording {
recorder?.record()
} else {
recorder?.stop({ (url) in
DispatchQueue.main.async {
//do something with the url, e.g. pass it to an AVPlayer here
}
})
}
}