|
|
|
@ -1699,9 +1699,9 @@ bool CPhoneDevice::TakePhoto(const IDevice::PHOTO_INFO& photoInfo, const vector<
|
|
|
|
|
time_t ts = time(NULL);
|
|
|
|
|
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);
|
|
|
|
|
}
|
|
|
|
|
else if (mPhotoInfo.usingSysCamera == 1)
|
|
|
|
|