Open rsjethani opened 5 years ago
Sorry for delayed response. I was a bit in disbelief on how to actually find if device is v4l2 device or not. Apparently there way is indeed to iterate over all "/dev/video*" devices. I'll gladly do a review of this PR then. Thanks for the effort!
@blackjack so you are saying that I should iterate only over video* devices?
Add FindAndOpen() func
This function will lookup suitable webcam device and open it. IMO this is better than hardcoding
/dev/video0
.Addresses: Issue #27