Can't release Basler camera such that it can be used by other apps
violet-cortinaproductions opened this issue · comments
violet-cortinaproductions commented
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): 1936x1216@152.9052fps
To Reproduce
Steps to reproduce the behavior:
- Open the camera with AVPro
- Deinit AVProLiveCamera:
AVProLiveCameraDevice.Stop()
AVProLiveCameraDevice.Close()
AVProLiveCameraManager.Deinit()
- Try to open the camera in another app
- The other app says the camera is already in use.