|
|
@ -1805,6 +1805,8 @@ bool CPhoneDevice::TakePhoto(const IDevice::PHOTO_INFO& photoInfo, const vector<
|
|
|
|
std::thread t([localPhotoInfo, param, pThis, path, osds, wid_serial]() mutable
|
|
|
|
std::thread t([localPhotoInfo, param, pThis, path, osds, wid_serial]() mutable
|
|
|
|
{
|
|
|
|
{
|
|
|
|
time_t ts = time(NULL);
|
|
|
|
time_t ts = time(NULL);
|
|
|
|
|
|
|
|
if(localPhotoInfo.scheduleTime != 0)
|
|
|
|
|
|
|
|
ts = localPhotoInfo.scheduleTime;
|
|
|
|
pThis->OpenPTZSensors(localPhotoInfo.selfTestingTime);
|
|
|
|
pThis->OpenPTZSensors(localPhotoInfo.selfTestingTime);
|
|
|
|
|
|
|
|
|
|
|
|
if (localPhotoInfo.preset != 0 && localPhotoInfo.preset != 0xFF)
|
|
|
|
if (localPhotoInfo.preset != 0 && localPhotoInfo.preset != 0xFF)
|
|
|
|