VIDEO_OA_isCameraIP()
The function checks whether the specified camera is an analog or an IP camera.
Synopsis
int VIDEO_OA_isCameraIP(string sCamera);
Parameters
Parameter | Description |
---|---|
sCamerat | Camera data point |
Return Value
-1 Camera type is not supported or it is empty
0 Camera is an analog camera
1 Camera is an IP camera
Errors
Missing or wrong arguments
Description
The function checks whether the specified camera is an analog or an IP camera.
EXAMPLE
main()
{
DebugN(VIDEO_OA_isCameraIP("Camera_00001"));
}
Assignment
Video functions
Availability
UI, CTRL