|
|
|
@ -1697,7 +1697,7 @@ bool CPhoneDevice::TakePhoto(const IDevice::PHOTO_INFO& photoInfo, const vector<
|
|
|
|
|
if (photoInfo.preset != 0 && photoInfo.preset != 0xFF)
|
|
|
|
|
{
|
|
|
|
|
CameraPhotoCmd(time(NULL), photoInfo.channel, MOVE_PRESETNO, 0, photoInfo.preset);
|
|
|
|
|
std::this_thread::sleep_for(std::chrono::seconds(2));
|
|
|
|
|
std::this_thread::sleep_for(std::chrono::seconds(3));
|
|
|
|
|
}
|
|
|
|
|
time_t ts = time(NULL);
|
|
|
|
|
if(!GetPTZSensorsStatus() && !GetCameraStatus())
|
|
|
|
|