How to read all of the camera streams that are published to the camera server?

How can I use wpilib and the roborio to access all camera streams published on the camera server, like those from other components such as a raspberry pi or a limelight? I have attempted to use CameraServer.getVideo(“name”), but encountered an error indicating that the stream is not published, despite the stream being visible in Shuffleboard. I also attempted to use CameraServer.getVideo() but received an error indicating that there are no streams published at all.

Those streams should just be accessible over an IP address as mjpeg streams, you just have to snag the streams actual origin limelight.local:1181 or something for example. There may be another built in method to do it but that’s one way.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.