Unable to show two webcam on same pc
-
Hi all
I need to manage two USB webcams on same pc but not able to do it right now. The problem is when the first webcam is showed through QML Camera component or QCamera class the second instance of the same component or class is not able to open the secondary camera, the error is "Failed to start". The problem occurs also between two different program sessions. I verified the problem also using the "official" Qt camera example (both QML and widget versions). If you try to run the first instance of Camera example you can see the two cameras (but not in parallel, one at time). Just select the first one in the list. After that, if you run a second instance of the same example program it's not able to access to any of two webcams with the "Failed to start" error. Looking into this forum there are a couple of similar posts but it doesn't help me. My environment is Qt version 5.15.2 under Windows. Someone experimented the same issue have know a workaround?
Thank you