根据配置修改分辨率和自检时间

hdrplus
陈曦 7 months ago
parent 0b8fc17c22
commit 56b53eb8d4

@ -1699,9 +1699,9 @@ bool CPhoneDevice::TakePhoto(const IDevice::PHOTO_INFO& photoInfo, const vector<
time_t ts = time(NULL); time_t ts = time(NULL);
if(!GetPTZSensorsStatus() && !GetCameraStatus()) if(!GetPTZSensorsStatus() && !GetCameraStatus())
{ {
OpenPTZSensors(120); OpenPTZSensors(photoInfo.selfTestingTime);
} }
CameraPhotoCmd(ts, photoInfo.channel, 0, 6, 0); CameraPhotoCmd(ts, photoInfo.channel, 0, photoInfo.resolution, 0);
res = TakePTZPhotoCb(3, photoInfo); res = TakePTZPhotoCb(3, photoInfo);
} }
else if (mPhotoInfo.usingSysCamera == 1) else if (mPhotoInfo.usingSysCamera == 1)

Loading…
Cancel
Save