根据选择的输入口返回配置值
接口名称
WEB_GetExternalCareraDftParamAPI(后续废弃)
功能描述
根据选择的输入口返回配置值
应用场景
根据选择的输入口返回配置值
URL
https://ip/action.cgi?ActionID=WEB_GetExternalCareraDftParamAPI
参数
无
返回值
|
参数 |
类型 |
取值范围 |
参数说明 |
|---|---|---|---|
|
success |
int |
[0, 1] |
响应结果 0:失败 1:成功 |
|
data |
Object |
可选, 空对象 |
成功返回数据。 例如:{"success":1,"data":"{\"videosource\":0,\"exposure\":0,\"slowshtlimit\":0,\"gain\":0,\"speed\":0,\"iris\":0,\"bright\":0,\"whitebalance\":0,\"redgain\":0,\"bluegain\":0,\"aperture\":0,\"denoise\":0,\"stbright\":0,\"contrast\":0,\"hue\":0,\"reverse\":0,\"backlight\":0,\"videomode\":0,\"zoom\":0,\"focus\":0,\"camerastyle\":0,\"intensity\":0,\"secondDegree\":0,\"thirdDegree\":0,\"camID\":0,\"Flickless\":0,\"ElectHz\":0}"} |
|
error |
Object |
可选 |
失败返回错误信息。 例如:{"success":0,"error":{"id":100666744,"code": ,"params":[]}} |
|
参数 |
类型 |
取值范围 |
参数说明 |
|---|---|---|---|
|
videosource |
int32 |
[0,255] |
视屏源 |
|
exposure |
int32 |
[0,255] |
曝光模式 |
|
slowshtlimit |
int32 |
[0,255] |
快门延迟 |
|
gain |
int32 |
[0,255] |
亮度增益 |
|
speed |
int32 |
[0,255] |
快门速度 |
|
iris |
int32 |
[0,255] |
光圈大小 |
|
bright |
int32 |
[0,255] |
亮度 |
|
whitebalance |
int32 |
[0,255] |
白平衡模式 |
|
redgain |
int32 |
[0,255] |
手动白平衡取值 |
|
bluegain |
int32 |
[0,255] |
手动白平衡取值 |
|
aperture |
int32 |
[0,255] |
孔径锐化 |
|
denoise |
int32 |
[0,255] |
降噪 |
|
stbright |
int32 |
[0,255] |
亮度 |
|
contrast |
int32 |
[0,255] |
对比度 |
|
hue |
int32 |
[0,255] |
色调 |
|
reverse |
int32 |
[0,255] |
图像倒置 |
|
backlight |
int32 |
[0,255] |
背光补偿开关 |
|
videomode |
int32 |
[0,255] |
视屏输出模式 |
|
zoom |
int32 |
32位整数 |
变焦 |
|
focus |
int32 |
32位整数 |
聚焦 |
|
camerastyle |
int32 |
[0,255] |
摄像机输入样式 |
|
intensity |
int32 |
[0,255] |
摄像机饱和度范围 |
|
secondDegree |
int32 |
[0,15] |
2D参数 |
|
thirdDegree |
int32 |
[0,15] |
3D参数 |
|
camID |
int32 |
[0,255] |
CAM_ID |
|
Flickless |
int32 |
[0,255] |
闪烁抑制模式 |
|
ElectHz |
int32 |
[0,255] |
频率 |
|
参数 |
类型 |
取值范围 |
参数说明 |
|---|---|---|---|
|
id |
int |
32位整数 |
错误id,用于转换。 |
|
code |
int |
32位整数 |
错误码,跟错误id对应,具体含义参考错误码。 |
|
param |
Object |
param 对象 |
失败响应的附带参数。 |