延长预置位调用等待时间

hdrplus
XI.CHEN 7 months ago
parent bd706d1cf4
commit ceb89a0c70

@ -1697,7 +1697,7 @@ bool CPhoneDevice::TakePhoto(const IDevice::PHOTO_INFO& photoInfo, const vector<
if (photoInfo.preset != 0 && photoInfo.preset != 0xFF) if (photoInfo.preset != 0 && photoInfo.preset != 0xFF)
{ {
CameraPhotoCmd(time(NULL), photoInfo.channel, MOVE_PRESETNO, 0, photoInfo.preset); 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); time_t ts = time(NULL);
if(!GetPTZSensorsStatus() && !GetCameraStatus()) if(!GetPTZSensorsStatus() && !GetCameraStatus())

Loading…
Cancel
Save