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

pixelBuffer is nil in the captured photo #258

Open
bluepixeltech opened this issue Oct 29, 2021 · 1 comment
Open

pixelBuffer is nil in the captured photo #258

bluepixeltech opened this issue Oct 29, 2021 · 1 comment

Comments

@bluepixeltech
Copy link

Hi,

Thanks for the great framework you made.
I am trying to capture photos and I am using the following settings:

NextLevel.shared.delegate = self
NextLevel.shared.deviceDelegate = self
NextLevel.shared.videoDelegate = self
NextLevel.shared.photoDelegate = self
NextLevel.shared.devicePosition = .back
NextLevel.shared.captureMode = .photo
NextLevel.shared.videoConfiguration.preset = .high
NextLevel.shared.automaticallyUpdatesDeviceOrientation = true

I successfully capture photo by calling NextLevel.shared.capturePhoto(), but in didFinishProcessingPhoto photo: AVCapturePhoto the photo.pixelBuffer is nil.

Can you please help me with this?

@bluepixeltech
Copy link
Author

Anyone can help with this?

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