Hi, thx for your response.
I tried:
VideoCapture cap(1);
VideoCapture cap(1, CAP_ANY;
But still the video dstream does not open.
OpenCV version : 3.4.4
Initialize camera…
OpenCV: out device of bound (0-0): 1
OpenCV: camera failed to properly initialize!
Error opening video stream