We’re trying to set the settings of two Axis Cameras. We’re having difficulty assigning different settings to the two separate cameras. We can set them separately using the code and can set it through the browser, but we’d like to do both through the code. When setting both cameras, the second camera’s settings seem to be set to both.
This is the code we’re using:
public Targeter() {
setUpDiscCamera();
targetingCamera = AxisCamera.getInstance("10.35.28.11");
targetingCamera.writeBrightness(50);
targetingCamera.writeCompression(50);
targetingCamera.writeColorLevel(100);
}
private void setUpDiscCamera() {
AxisCamera discCamera = AxisCamera.getInstance("10.35.28.12");
discCamera.writeCompression(50);
discCamera.writeColorLevel(0);
discCamera.writeBrightness(50);
discCamera = null;
}
Any ideas on how we can fix this? At this point, we’re not sure how to work around this besides setting through the browser and leaving it in the code. Thank you for any suggestions!