修改海康球机网络抓拍

rtmpsuck
jxjajs 5 months ago
parent 378bc2d0fb
commit 72c2ebebc6

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

Loading…
Cancel
Save