Do CameraServer objects use bandwidth when not added to Shuffleboard

As the title indicates, do USB cameras that are visible in the CameraServer section actually broadcast data (use bandwidth), or only when they are added to the Shuffleboard?

On a similar note, the WPILIBPI vision server automatically broadcasts the streams of all attached USB cameras. If bandwidth is used regardless of whether anyone is watching, can these automatic streams be disabled somehow?

Bandwidth is used only by streams that are actually opened by the dashboard (eg creating a camera view widget in shuffleboard that displays the stream video). Just publishing a stream (making it visible in NT) does not consume bandwidth. Re: shuffleboard one thing to be aware of is that I’m pretty sure that shuffleboard does not close streams in widgets that are on background tabs.

1 Like

The bandwidth as stated above only is used while you’re viewing it, but be careful not to leave stream connections going in a second tab/window or in another software with a direct IP connection.

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