Code refactor to apply sanity checks to current classes
Add CameraUsbSource (my USB recommended implementation)
I did that implementation based in your code and it is working. The main idea is keep all code related with USB library in that class for maintenance and convert it in a black box (the idea is create a class totally usable without know about USB library because only instance the VideoSource is necessary).
I did that implementation based in your code and it is working. The main idea is keep all code related with USB library in that class for maintenance and convert it in a black box (the idea is create a class totally usable without know about USB library because only instance the VideoSource is necessary).