Open jordimares opened 7 years ago
Replace your MovieOutput.swift with the following and it should solve your issue, you can also look at what was changed but it boils down to when audio and video start recording.
@justinmiller62 Thank you so much for this. I was having so many issues with the audio recording. Dropped your file in, works perfectly.
Hi,
I am facing a very strange problem. I have my Camera working in iOS 10 and Swift 3.2 to record videos without audio. However, when I add the line
camera.audioEncodingTarget = movieOutput
my app crashes badly with a SIGABRT. Any ideas on what can be happening?I have the following in the
viewDidLoad()
method:And the following in the method triggered when I tap the record button:
The app crashes in the line
camera.audioEncodingTarget = movieOutput