CGI

Properties CGI

Version / Author / DateModify
1.0/David/2013-03-25First edition

Overview

User queries through the CGI interface IP Camera own property, all the attributes of the IP Camera:

Name

Description

firmware_ver

System firmware version

webui_ver

Web UI version

ptz

Whether they have the PTZ function

wireless

Whether they have WI-FI function

sensor

Sensor Type

resolution_capability

Supported video resolutions Type

Bit0: whether to support 128 * 96

Bit1: whether to support 160 * 128

Bit2: whether to support 160 * 120

Bit3: whether to support 176 * 144

Bit4: whether to support 320 * 240

Bit5: whether to support 352 * 288

Bit6: whether to support 640 * 480

Bit7: whether to support 704 * 576

Bit8: whether to support 720 * 576

Bit9: whether to support 800 * 600

Bit10: whether to support 1024 * 768

Bit11: whether to support 1280 * 720

Bit12: whether to support 256 * 144

Bit13: whether to support 384 * 216

Bit14: whether to support 512 * 288

Bit15: whether to support 640 * 360

Bit16: whether to support 768 * 432

Bit17: whether to support 896 * 504

Bit18: whether to support 1024 * 576

snapshot_resolution_capability

Support the camera resolution type \ Applies only to RC9264

With resolution_capability

max_streams_number

The maximum number of streams of the support

camera_capability

Support the operation of the Camera

Bit0: whether to support brightness adjustment

Bit1: whether to support the contrast adjustment

Bit2: whether to support gray scale adjustment

Bit3: whether to support the color saturation adjustment

Bit4: whether to support the sharpness adjustment

Bit5: whether to support the frequency setting

Bit6: whether to support the exposure setting

Bit7: whether to support the scene is set

Bit8: whether to support the flip set

brightness_min

The minimum brightness adjustment

brightness_max

Maximum brightness adjustment

brightness_default

The default value of the luminance

contrast_min

The contrast adjust the minimum value

contrast_max

The contrast adjust the maximum

contrast_default

The default value of the contrast

hue_min

The grayscale adjustment of the minimum

hue_max

The grayscale adjustment of maximum

hue_default

The default value of the gradation

saturation_min

The minimum value of the color saturation adjustment

saturation_max

The maximum value of the color saturation adjustment

saturation_default

The default value of the color saturation

sharpness_min

The Sharpness adjustment of the minimum value

sharpness_max

Maximum sharpness adjustment

sharpness_default

The default value of the sharpness of the

powerfreq_min

The minimum value of the frequency setting

powerfreq_max

Maximum frequency setting

powerfreq_default

The default value of the frequency

ev_min

The Exposure setting the minimum value

ev_max

Maximum exposure settings

ev_default

The default value of the exposure

scene_min

Scene set minimum

scene_max

Scene set the maximum

scene_default

The default value of the scene

flip_min

Flip the minimum set

flip_max

Flip the maximum set

flip_default

Flip the default value

model

Equipment Model: RC9264, 1: RC2409M, 2: RC2409H

skype

Equipment whether there skype function

onvif

Whether the device onvif function

mic

The Equipment whether the microphone function is only applicable to RC2409M / H

speaker

The Equipment whether the speaker function is only applicable to RC2409M / H

Query IP Camera on the MJPEG stream (only applies to RC9264)

is_mjpeg_stream_exist.cgi

  • Permission requirements:
No
  • Syntax:
/is_mjpeg_stream_exist.cgi[?result=&json=&jsonp_callback=]
  • Parameter:
result:Returns the corresponding variable name set
json/jsonp_callback:Back json type data set
  • IP Camera Back::
result:whether there is a MJPEG stream encoded
  • Example:
http://192.168.0.188/is_mjpeg_stream_exist.cgi 
 IP Camera Back:
var result=1;

Query IP Camera Properties

get_properties.cgi

  • Permission requirements:
Visitors
  • Syntax:
/get_properties.cgi[?user=&pwd=&session=&json=&jsonp_callback=&property=&…&property=]
  • Parameter:
user/pwd:parameter authentication method required to login username / password\\
     session:Session authentication method required to Session ID \\
     property: the need to query the attribute name and the corresponding return variable name, in the form:
property_name=var_name
property_name to query the attribute name, var_name variable name corresponding return. If you want to check more than one property, set up a number, if not set, then return all the properties in accordance with the default variable name.
-<  json/jsonp_callback:return the json type of data set
  • Back:
Back to query attribute variable definitions.
  • Example:
http://192.168.0.188/get_properties.cgi?session=1891048766&firmware_ver=&webui_ver=&ptz=can_ptz&wireless=can_wifi&sensor= 
IP Camera Back:
	var sensor=2;
  var can_wifi=0;
  var can_ptz=0;
  var webui_ver='REECAM.GM8126.BASE.3.3';
  var firmware_ver='REECAM.GM8126.BASE.3.2';
  
  http://192.168.0.188/get_properties.cgi?session=1891048766

  IP Camera return all properties:
  var firmware_ver='REECAM.GM8126.BASE.3.2';
  var webui_ver='REECAM.GM8126.BASE.3.3';
  var ptz=0;
  var wireless=0;
  var sensor=2;
  var resolution_capability=82;
  var max_streams_number=4;
  var camera_capability=256;
  var brightness_min=0;
  var brightness_max=50;
  var brightness_default=25;
  var contrast_min=0;
  var contrast_max=10;
  var contrast_default=5;
  var hue_min=0;
  var hue_max=32;
  var hue_default=16;
  var saturation_min=0;
  var saturation_max=16;
  var saturation_default=8;
  var sharpness_min=0;
  var sharpness_max=4;
  var sharpness_default=2;
  var powerfreq_min=0;
  var powerfreq_max=1;
  var powerfreq_default=1;
  var ev_min=0;
  var ev_max=1;
  var ev_default=0;
  var scene_min=0;
  var scene_max=5;
  var scene_default=0;
  var flip_min=0;
  var flip_max=3;
  var flip_default=0;
Copyright:Shenzhen XRC Tech Co.,Ltd.

ICP:粤ICP备09050685号