This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# 2024-10-31

- The devName field is added to the LAN device discovery structure `NET_SDK_DEVICE_DISCOVERY_INFO` to save the device name.
- Fixed the issue of garbled characters when setting the channel name using the command `DD_CONFIG_ITEM_CHNN_CONFIG` in the `NET_SDK_SetDVRConfig` interface.
- Fixed the problem that stopping the preview when saving the video during preview will cause the SDK to crash.
- Optimized the gray screen issue for video preview when the network is poor.
- Fixed the issue where `NET_SDK_GetPTZConfig` could not get PTZ preset points.

- `NET_SDK_ERROR` adds face-related error codes:

  - Image does not meet the requirements(`NET_SDK_FACE_PICTURE_INCONFORMITY`)
  - The staff pool has reached its limit(`NET_SDK_FACE_ITEM_OVER_LIMIT`)
  - Image format not supported(`NET_SDK_FACE_PICTURE_FORMAT_UNSUPPORTED`)
  - Incorrect image data(`NET_SDK_FACE_PICTURE_DATA_INCORRECT`)
  - Export failed(`NET_SDK_FACE_EXPORT_FAIL`)
  - Import failed(`NET_SDK_FACE_IMPORT_FAIL`)
  - Authentication failed(`NET_SDK_FACE_VERIFY_FAIL`)
  - Image size exceeds limit(`NET_SDK_FACE_PICTURE_TOO_LARGE`)
  - Failed to update the signature database record(`NET_SDK_FACE_UPDATE_FEATURE_FAIL`)
  - Failed to add feature library record(`NET_SDK_FACE_ADD_FEATURE_FAIL`)
  - Failed to extract features from sent images(`NET_SDK_FACE_SEND_PICTURE_FAIL`)
  - Failed to save basemap(`NET_SDK_FACE_SAVE_PICTURE_FAIL`)
  - Failed to save personnel information(`NET_SDK_FACE_SAVE_INFO_FAIL`)
  - Failed to save personnel feature(`NET_SDK_FACE_SAVE_FEATURE_FAIL`)
  - The same face already exists(`NET_SDK_FACE_EXIST`)
  - Unknown feature library operation error(`NET_SDK_FACE_UNKNOWN_OPERATE_ERROR`)
  - Face not uploaded(`NET_SDK_FACE_NOT_UPLOAD`)

Error Code