From 56b53eb8d4e2f941d47b5ba6d9471f13c66d9541 Mon Sep 17 00:00:00 2001 From: "XI.CHEN" Date: Fri, 29 Nov 2024 17:49:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E9=85=8D=E7=BD=AE=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=88=86=E8=BE=A8=E7=8E=87=E5=92=8C=E8=87=AA=E6=A3=80?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/cpp/PhoneDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index 48812724..c7fa2907 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -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)