SendIPCameraCommand
TVideoGrabber.SendIPCameraCommand |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sends an HTTP command to the IP camera.
Declaration
function SendIPCameraCommand (IPCameraCommand: String): Boolean;
bool __fastcall SendIPCameraCommand(wchar_t *IPCameraCommand);
function SendIPCameraCommand(IPCameraCommand as String) as Boolean
Description
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
See Also
IR Cut Filter of Axis cameras Video stream of IP camera with audio of PC microphone or other audio capture device ExtraDLLPath IPCameraURL ONVIF_GetStr ONVIF_SetStr OpenURLAsync SetIPCameraSetting