update OrbbecSDK version to 2.8.3

This commit is contained in:
ob-yalian
2026-04-15 09:37:52 +08:00
parent fa7e7086c9
commit 39adc43865
11 changed files with 51 additions and 14 deletions
@@ -1394,6 +1394,22 @@ public:
return ipSrcType;
}
/**
* @brief Get the user-defined name of the device at the specified index.
*
* @attention Only valid for Ethernet devices, otherwise returns "unknown".
*
* @param[in] index The index of the device.
*
* @return const char* The user-defined name string.
*/
const char *getUserName(uint32_t index) const {
ob_error *error = nullptr;
auto userName = ob_device_list_get_device_user_name(impl_, index, &error);
Error::handle(&error);
return userName;
}
/**
* @brief Get the device object at the specified index
*