public void changePTZ(PTZ_MODE mode, double p, double t, double z) { if (Zoom > 22) { CameraConnnector.requestPtzControl(IP, mode, (int)Pan, (int)Tilt, (int)z); CameraConnnector.requestPtzControl(IP, mode, (int)p, (int)t, (int)z); } else if (Zoom < 12) { CameraConnnector.requestPtzControl(IP, mode, (int)p, (int)t, (int)Zoom); CameraConnnector.requestPtzControl(IP, mode, (int)p, (int)t, (int)z); } else { CameraConnnector.requestPtzControl(IP, mode, (int)p, (int)t, (int)z); } }
private void updatePTZ(object sender, EventArgs e) { CameraConnnector.requestCameraPosition(IP); }
public void initSession() { CameraConnnector.initializeSession(IP, UserName, Password); }
public void endSession() { CameraConnnector.endSession(IP); }
public void getStreamUri() { CameraConnnector.getStreamUri(IP); }