VIDEO_OA_isCameraPTZ()

The function checks whether the specified camera is a fixed or a PTZ camera.

Synopsis

int VIDEO_OA_isCameraPTZ(string sCamera);

Parameters

Parameter Description
sCamerat Camera data point

Return Value

-1 The camera type is not supported or is empty

0 The camera is a fixed camera (Type = FIX)

1 The camera is a supported PTZ camera

Errors

Missing or wrong arguments

Description

The function checks whether the camera is a fixed or a PTZ camera.

EXAMPLE

main()
{
  DebugN(VIDEO_OA_isCameraPTZ("Camera_00001"));
}

Assignment

Video functions

Availability

UI, CTRL