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

Can't release Basler camera such that it can be used by other apps #54

Open
violet-cortinaproductions opened this issue May 9, 2024 · 0 comments

Comments

@violet-cortinaproductions

Describe the bug
I'm using the AVProLiveCameraManager.Deinit(); method to attempt to release cameras so they can be used by other apps without closing the unity project, and while this works with most other cameras I have tested (e.g. integrated laptop camera and a usb webcam), it doesn't work with the specific camera I'm using, which is a Basler a2A1920-160ucPRO (appears within AVPro as Basler GenICam)

Your Setup (please complete the following information):

  • Unity version: 2020.3.48f1
  • AVPro Live Camera version: 2.9.3
  • Operating system version: Windows 11
  • Hardware/webcam model: Basler a2A1920-160ucPRO / Basler GenICam
  • Video mode (resolution, frame-rate, etc): [email protected]

To Reproduce
Steps to reproduce the behavior:

  1. Open the camera with AVPro
  2. Deinit AVProLiveCamera:
    1. AVProLiveCameraDevice.Stop()
    2. AVProLiveCameraDevice.Close()
    3. AVProLiveCameraManager.Deinit()
  3. Try to open the camera in another app
  4. The other app says the camera is already in use.
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