Can't change camera during video recording
joeldrotleff opened this issue · 0 comments
joeldrotleff commented
I am trying to record a video that starts with the back camera and then continues with the back camera. But after tapping the flip camera button during recording, I get an error message:
Error Domain=AVFoundationErrorDomain Code=-11818 "Recording Stopped" UserInfo={AVErrorRecordingSuccessfullyFinishedKey=true, NSLocalizedDescription=Recording Stopped, NSLocalizedRecoverySuggestion=Stop any other actions using the recording device and try again., AVErrorRecordingFailureDomainKey=1, NSUnderlyingError=0x105d9b3d0 {Error Domain=NSOSStatusErrorDomain Code=-16414 "(null)"}}
Any idea why switching cameras during video recording causes this error, and what can be done about it?
Thanks,
Joel