Quote:
Originally Posted by Caleb Sykes
What do you mean when you say you have to change the source to "switcher?"
|
In SmartDashboard, the USB Camera Viewer widget has a source property. In the code above, it says "putVideo("Switcher", 320, 240);" so that is the new video source. The Java code automatically adds a "Camera 0" or "cam0" source for the webcam, but using that produces an error when switching cameras because you are still trying to stream that single camera rather than the special source that will switch between the two.