We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In KameraWriter_Final I found self.captureSession.sessionPreset = [self sessionPreset];
did in fact not take effect, where as [self.captureSession setSessionPreset:AVCaptureSessionPresetInputPriority];
did. Not sure why the return value didn't work, maybe missing const?
Also, it is worth adding support for check for
if(![videoDevice supportsAVCaptureSessionPreset:AVCaptureSessionPreset1280x720]){ NSDictionary *userInfo = @{NSLocalizedDescriptionKey : @"Camera does not support session preset"}; *error = [NSError errorWithDomain:THCameraErrorDomain code:THCameraErrorFailedToAddInput userInfo:userInfo]; return NO; }
as the front camera on an iPad2 for instance fails without throwing an error.
The text was updated successfully, but these errors were encountered:
Thanks for the heads up! I'll look into it.
Sorry, something went wrong.
No branches or pull requests
In KameraWriter_Final I found
self.captureSession.sessionPreset = [self sessionPreset];
did in fact not take effect, where as
[self.captureSession setSessionPreset:AVCaptureSessionPresetInputPriority];
did. Not sure why the return value didn't work, maybe missing const?
Also, it is worth adding support for check for
as the front camera on an iPad2 for instance fails without throwing an error.
The text was updated successfully, but these errors were encountered: