Skip to content

SendIPCameraCommand

function

Delphi
function SendIPCameraCommand (IPCameraCommand: string): Boolean;
C++Builder
bool __fastcall SendIPCameraCommand(System::UnicodeString IPCameraCommand);
C#
public bool SendIPCameraCommand(string IPCameraCommand);
VB.NET
Public Function SendIPCameraCommand(IPCameraCommand As String) As Boolean
C++/Qt
BOOL SendIPCameraCommand (wchar_t *IPCameraCommand);

Used to send an HTTP command to the IP camera.

The command string must be an HTTP URL. The syntax depends of the manufacturer.

E.g. to send PTZ commands to an Axis IP Camera with PTZ control:

SendIPCameraCommand ("http://x.x.x.x/axis-cgi/com/ptz.cgi?move=home")

SendIPCameraCommand ("http://x.x.x.x/axis-cgi/com/ptz.cgi?move=up")

etc...

(replace x.x.x.x by the IP address of the camera)

The list of the syntax for Axis IP cameras can be found here:

http://www.axis.com/techsup/cam_servers/dev/cam_http_api_index.php