I'm using the Hikvision Device Network SDK (for Windows 64-bit) to control a camera PTZ position. The control must be realtime: the camera moves accordingly the mouse movement on the screen.
I have found these APIs:
I have found these APIs:
- NET_DVR_PTZControl( [ Start | Stop ], [ UP_LEFT | UP_RIGHT | ... (8 directions ): this is not very suitable as I want to have custom directions, for example to move in a direction for 60° Pan and 30° Tilt.
- NET_DVR_SetDVRConfig( NET_DVR_SET_PTZPOS, destination_pos): The problem I have experimented with this one is that It creates a new TCP socket for each request which creates latency problems.