RoboRio losing communication while using cameras

While using a camera with the RoboRio we would upload our code and everything would work perfect. The camera was working fine and after about 2-3 minutes the robot loses communications. When this happened we had 2 cameras plugged in but after unplugging one we still had the problem. If you know what a possible problem could be that would help out a lot. Thanks.

Does it lose communication every time or just sometimes?

After getting it to work can you unplug both cameras while connected and still lose communications later?

Does it lose communications if you start it without any camera plugged in?

I assume from how you phrased things, that running with one camera is fine?

Are these USB cameras or IP cameras?
Model?

What have you changed in the code to handle the two cameras?

It would lose connection every time we had a camera plugged in. He were running the dashboard as well watching the camera feed. Do you think that could be a problem?

Experiment and find out.
Try Dashboard only, then watching the feed only.

What are you using or how are you watching the camera feed if not through the Dashboard?

There is 7 Mbs limit that you may be exceeding that the Radio is enforcing (I believe there is a setting for that).

In actual competition, FMS implements traffic priority for FMS/RoboRio signals.

Make sure you are well under 6Mbs to avoid problems. 1 camera can easily get close to the limit.