Make sure that you have these four lines of code, the first in the main code, the others in the robotInit section.
Code:
AxisCamera camera;
camera = AxisCamera.getInstance();
camera.writeResolution(AxisCamera.ResolutionT.k160x120);
camera.writeBrightness(100);
Also make sure, like said above, that your IP address is changed to 10.XX.YY.something, where XXYY is your team number, and something is anything but 90 or 2.