Thank you very much for providing the code snippet. The way that you implements the authentication part is correct and we are not able to reproduce this issue on our side. Therefore, we might need your help to further investigate this issue. Please follow the following process
- Please enable to log feature(introduced in the version v4.3.30730.0118) while initializing our SDK. The way of how to enable to log feature is like the following:
ZOOM_SDK_NAMESPACE::InitParam.enableLogByDefault = true;
- At the method/ breakpoint that you receive the
AUTHRET_UNKOWN, please implement the following method so that we can log the error detail in the log. The following is pseudo-code, please modify based on your program’s code:
if(ZOOM_SDK_NAMESPACE::AUTHRET_UNKNOWN == authService->SDKAuth(authParam))
ZOOM_SDK_NAMESPACE::IZoomLastError* pLastError = ZOOM_SDK_NAMESPACE::GetZoomLastError();
if(NULL != pLastError)
uint64 nErrorCode = pLastError->GetErrorCode();
Please provide the nErrorCode and the log file to us if it is possible.
3. Are you using any kinds of proxy? In some of the previous cases that use a proxy that is not recognized by our SDK, our SDK will return this error message as well.
Please let us know if you have any questions. Thanks!