PhotonVision / photonvision

PhotonVision is the free, fast, and easy-to-use computer vision solution for the FIRST Robotics Competition.
https://photonvision.org
GNU General Public License v3.0
265 stars 180 forks source link

Disable streams #1387

Open ItayNaumann opened 1 month ago

ItayNaumann commented 1 month ago

During the season, we've used photonvision, and we had bandwidth problems. We wanted to see a certain stream, but only 1 stream at a time while stopping all of the others. Not seeing the stream didn't disable it, and it took a lot of bandwidth with it.

A way to disable each one of the streams, probably via a NT entry.

Could also be cool maybe a "focus mode" for when there are a couple of cameras and wanting to show only one of the stream at a time, maybe a NT entry that uses the port's number to choose focus

mcm001 commented 1 month ago

If not viewing a stream doesn't decrease bandwidth, I would argue that actually a bug and we should open an issue either way to try and triage it.

Juniormunk commented 1 month ago

How were you viewing the streams? What "app" were you using?

ItayNaumann commented 1 month ago

We were listening from the camera publisher entry in our dashboard

Juniormunk commented 1 month ago

What resolution were the streams? Are they color or gray scale?

ItayNaumann commented 1 month ago

One colorfull, one greyscale. OV 9281 and OV 9282. I think that both had a stream of 640 by 480

mcm001 commented 1 month ago

We were listening from the camera publisher entry in our dashboard

Which dashboard software did you use? And did you also have the web ui open at the same time?