Awalz / SwiftyCam

A Snapchat Inspired iOS Camera Framework written in Swift
BSD 2-Clause "Simplified" License
2.08k stars 327 forks source link

when app goes to background , capture session is getting nil and stop recording is not working #222

Open usman-whizpool opened 4 years ago

usman-whizpool commented 4 years ago

Hi there, any idea about why this is happening , when app goes to background , capture session is getting nil and stop recording is not working

error detail after debug [SwiftyCam]: Movie file finishing error: Error Domain=AVFoundationErrorDomain Code=-11818 "Recording Stopped" UserInfo={NSLocalizedDescription=Recording Stopped, AVErrorRecordingSuccessfullyFinishedKey=true, NSLocalizedRecoverySuggestion=Stop any other actions using the recording device and try again., NSUnderlyingError=0x28055ae20 {Error Domain=NSOSStatusErrorDomain Code=-16414 "(null)"}}

nightbird8n commented 4 years ago

Hi,

Did you find solution? Is there any way to save video file when app goes to background?

Thanks

dieunguyenantony commented 1 year ago

Same me