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

Enable built-in camera if it was disabled when USB camera was present, but enable if it's the only one left #17

Open
notuxius opened this issue Sep 14, 2024 · 6 comments

Comments

@notuxius
Copy link

Prerequisites:
2 cameras, off course)

Steps:

  1. Disable build-in camera.
  2. Disconnect USB camera.
  3. Lock screen.
  4. Press Hello Face sign-in on lock screen.

Actual:
Message on the lock screen: Couldn't enable camera.

Expected:
Despite built-in camera was disabled, it should be enabled if there are no other cameras present.

Version:
1.6.1

@notuxius
Copy link
Author

I thought you commented the wrong issue)
After i enable the built-in camera with the app options - there's no such an issue any more.

@emoacht
Copy link
Owner

emoacht commented Sep 15, 2024

What is the status of built-in camera after 1 and 2 but before 3?
What happens if you click "Re-check USB camera" after 4?

@notuxius
Copy link
Author

I'm disabling built-in camera with the app options and it's disabled before 2 and 3, and the USB one is enabled, after pressing recheck USB - the USB one is still enabled and works, but the built-in is disabled. After 4 i'm seeing messages on lock screen: "Getting ready" first and then "Couldn't turn on the camera".

@emoacht
Copy link
Owner

emoacht commented Sep 15, 2024

Your explanation is contradictory. After 2 (USB camera is disconnected), the USB camera cannot be enabled. What is the exact status of built-in camera after 2?
And could you run this app from command line with "/operation"? It will create operation.log at "C:\ProgramData\HelloSwitcher" folder. Could you post it?

@notuxius
Copy link
Author

notuxius commented Sep 15, 2024

Sorry, yeah, after 2 the built-in is still disabled - which is the purpose of this issue)
Strange, but after system restart i can't right now reproduce the issue, Here are my operations files - 1 is with disabling/enabling the build-in (either HD or IR) camera and 2 is enabling/disabling HD and IR cameras as i have two devices in device manager, but they're a single camera device in my laptop.
1 - operation.log
2 - operation.log

@emoacht
Copy link
Owner

emoacht commented Sep 15, 2024

I see. If you can reproduce the issue. please post it.

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

2 participants