unity-depthcapture-ios icon indicating copy to clipboard operation
unity-depthcapture-ios copied to clipboard

How can I use back camera?

Open menstood opened this issue 3 years ago • 1 comments

I cannot use the back camera of iPhone 11. I've tried to pass the position parementer Position.Back when config the capture. What should I do? Thank you.

menstood avatar Jan 26 '22 08:01 menstood

Can you please tell me what exactly happens when used with iPhone 11? Exception at DepthCapture.Configure ?

I'm guessing that this plugin lacks support for newer device types, such as AVCaptureDeviceTypeBuiltInTripleCamera, AVCaptureDeviceTypeBuiltInDualWideCamera, etc. If you add AVCaptureDeviceTypeBuiltInTripleCamera to enum DeviceType and provide that to DepthCapture.Configure, it may work.

AtsushiSuzuki avatar Jan 27 '22 01:01 AtsushiSuzuki