Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't change camera during video recording #268

Open
joeldrotleff opened this issue Sep 26, 2022 · 0 comments
Open

Can't change camera during video recording #268

joeldrotleff opened this issue Sep 26, 2022 · 0 comments

Comments

@joeldrotleff
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant