Why is switching difficult? What's wrong with having two cameras and one mjpeg stream output:
Code:
VideoCamera cam0 = UsbCamera("Camera 0", 0);
VideoCamera cam1 = UsbCamera("Camera 1", 1);
MjpegServer server = new MjpegServer("Output to dashboard", 5800);
And switching between them using server.setSource()? We switched between two streams last year by modifying the CameraServer class, which worked fine. However, looking at the CSCore library, this seems like the "obvious" way to do it. I'm about to test this in a few hours, am I going to run into problems?