读取图片返回错误,包号不增加

rtmpsuck
jxjajs 5 months ago
parent 5a8d4fdf9e
commit 378bc2d0fb

@ -1533,7 +1533,7 @@ bool CPhoneDevice::TakePhotoWithNetCamera(IDevice::PHOTO_INFO& localPhotoInfo, c
{
// Hai Kang
netPhotoInfo.authType = HTTP_AUTH_TYPE_DIGEST;
snprintf(netPhotoInfo.url, sizeof(netPhotoInfo.url), "/ISAPI/Streaming/channels/%u/picture", (uint32_t)localPhotoInfo.cameraId);
snprintf(netPhotoInfo.url, sizeof(netPhotoInfo.url), "/ISAPI/Streaming/channels/1/picture?"/*, (uint32_t)localPhotoInfo.cameraId*/);
}
else if (localPhotoInfo.vendor == 2)
{

Loading…
Cancel
Save