-
Notifications
You must be signed in to change notification settings - Fork 322
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
Unable to capture media #31
Comments
Can you provide the source code or a sample project where this reproducible? I have never encountered this error |
I've checked my source again and guessing this part has problem. (I modified if condition because original code is deprecated)
|
AVCaptureDeviceDiscoverySession is only available in iOS 10. The framework supports iOS 8+. Does the issue persist if you ignore the deprecation warnings and run the source code as it? |
If I ignore the deprecation warnings, it's running well... |
I was wrong. Added deviceTypes and running well. |
Sorry you were wrong about what? That its running well with the original source, or that that was the part of the refactored code that is giving you problems? |
Original source is running well and new code fixed for deprecation is also running well. |
When push camera viewcontroller, I could see the following message.
Domain=AVFoundationErrorDomain Code=-11814 "Cannot Record" UserInfo={NSLocalizedRecoverySuggestion=Try recording again., NSLocalizedDescription=Cannot Record}
What should I fix?
The text was updated successfully, but these errors were encountered: