RenderHeads / UnityPlugin-AVProLiveCamera

AVPro Live Camera is a Unity plugin for webcams, TV cards and capture cards

Home Page:https://renderheads.com/products/avpro-live-camera/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

violet-cortinaproductions opened this issue · comments

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:

  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.