Exemple #1
0
 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);
     }
 }
Exemple #2
0
 private void updatePTZ(object sender, EventArgs e)
 {
     CameraConnnector.requestCameraPosition(IP);
 }
Exemple #3
0
 public void initSession()
 {
     CameraConnnector.initializeSession(IP, UserName, Password);
 }
Exemple #4
0
 public void endSession()
 {
     CameraConnnector.endSession(IP);
 }
Exemple #5
0
 public void getStreamUri()
 {
     CameraConnnector.getStreamUri(IP);
 }