Switching front/back camera not work on iOS

0 votes
asked Mar 7, 2019 by eungwi (120 points)
I have tried to switch camera type, like on document.

But this is not work.

I think camera switch is not complete, but call OpenAndStart()

How do I know if camera switch is complete and can start?

private CameraDeviceBehaviour _cameraDeviceBehaviour;
private void Switch(){
     _cameraDeviceBehaviour.Close();
     _cameraDeviceBehaviour.CameraDeviceType = CameraDeviceBaseBehaviour.DeviceType.Back;
     _cameraDeviceBehaviour.OpenAndStart();
}

Thank you.

Please log in or register to answer this question.

Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...