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

Remove sessionPreset #134

Merged
merged 1 commit into from
Apr 13, 2016
Merged

Remove sessionPreset #134

merged 1 commit into from
Apr 13, 2016

Conversation

aashishdhawan
Copy link
Contributor

This should fix issue #124. But i do not have iPad 2 to test. May be you guys can help here @zenangst

We should avoid using these sessionPreset AVCaptureSessionPreset1280x720 AVCaptureSessionPreset1920x1080 AVCaptureSessionPreset640x480.
We better use AVCaptureSessionPresetHigh if we are trying to capture the best quality. Also AVCaptureSessionPresetHigh varies depending on the device.

Even more AVCaptureSessionPresetHigh is default value therefore no need to set either.

In fact i am wondering was there a specific reason to use AVCaptureSessionPreset1280x720 AVCaptureSessionPreset1920x1080 AVCaptureSessionPreset640x480? Am i missing something?

@zenangst zenangst merged commit 5af59f1 into master Apr 13, 2016
@zenangst zenangst deleted the bug/iPad-crash branch April 13, 2016 08:25
@zenangst
Copy link
Contributor

@aashishdhawan Nah, I think you are correct. Nice catch!

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

Successfully merging this pull request may close these issues.

2 participants