|
|
|
@ -1688,7 +1688,7 @@ bool CPhoneDevice::TakePhotoWithNetCamera(IDevice::PHOTO_INFO& localPhotoInfo, c
|
|
|
|
|
{
|
|
|
|
|
XYLOG(XYLOG_SEVERITY_ERROR, "Vendor(%u) not Supported CH=%u PR=%X PHOTOID=%u", (uint32_t)localPhotoInfo.vendor, (uint32_t)localPhotoInfo.channel, (unsigned int)localPhotoInfo.preset, localPhotoInfo.photoId);
|
|
|
|
|
TakePhotoCb(0, localPhotoInfo, "", 0);
|
|
|
|
|
ShutdownEthernet();
|
|
|
|
|
// ShutdownEthernet();
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1738,10 +1738,10 @@ bool CPhoneDevice::TakePhotoWithNetCamera(IDevice::PHOTO_INFO& localPhotoInfo, c
|
|
|
|
|
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (netCaptureResult)
|
|
|
|
|
{
|
|
|
|
|
ShutdownEthernet();
|
|
|
|
|
}
|
|
|
|
|
// if (netCaptureResult)
|
|
|
|
|
// {
|
|
|
|
|
// ShutdownEthernet();
|
|
|
|
|
//}
|
|
|
|
|
ethernetPowerCtrl.reset();
|
|
|
|
|
XYLOG(XYLOG_SEVERITY_DEBUG, "Ethernet Power OFF");
|
|
|
|
|
|
|
|
|
|