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

Video session is missing #6

Open
dhaneshgosai opened this issue May 31, 2018 · 5 comments
Open

Video session is missing #6

dhaneshgosai opened this issue May 31, 2018 · 5 comments

Comments

@dhaneshgosai
Copy link

Hello ,

I have download your code and try to run on my iPhone and I am getting below message on console

noCamerasAvailable

How can I run this code successfully without any error on console ?

Thanks in advance.

@erkandiken
Copy link

Hello @dhaneshgosai ,
It seems configureCaptureDevices() can not find the camera type that you are looking for.
You can double check the device type that is passed to AVCaptureDevice.DiscoverySession( ...) function.

@dhaneshgosai
Copy link
Author

hello @erkandiken ,

Now problem is solved and I can able to run your project.

Thanks for your reply.

@arimunandar
Copy link

@dhaneshgosai Hi, i have problem same like u, how to fix that issue? please

@AdieOlami
Copy link

How did you solve the problem please

@lohenyumnam
Copy link

How did you solve the problem please

In method
func configureCaptureDevices() throws
change the deviceTypes: to [.builtInWideAngleCamera]

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

5 participants