网络拍照重试次数增加,避免网络不稳定导致拍照失败

ptz
Matthew 4 months ago
parent d8ab5050b3
commit 876ab5ab05

@ -1620,7 +1620,7 @@ bool CPhoneDevice::TakePhotoWithNetCamera(IDevice::PHOTO_INFO& localPhotoInfo, c
std::vector<uint8_t> img; std::vector<uint8_t> img;
bool netCaptureResult = false; bool netCaptureResult = false;
for (int idx = 0; idx < 3; idx++) for (int idx = 0; idx < 64; idx++)
{ {
netHandle = GetEthnetHandle(); netHandle = GetEthnetHandle();
netPhotoInfo.netHandle = netHandle; netPhotoInfo.netHandle = netHandle;

Loading…
Cancel
Save