in my other demo app issue related to sdk initialisation occur but got different issue message, in this my demo app I got following issue during initialisation:-
errorcode=3 internalErrorCode= 1000006000
In this demo app I used my app sdk and secret key but above issue occur.
Based on the JWT payload you have provided, this appears to be an issue with the tokenExp value being invalid. It must be >= iat + 1800.
in my other demo app issue related to sdk initialisation occur but got different issue message, in this my demo app I got following issue during initialisation:-
This error code indicates that the network was not available. Are you sure that your device has network access?
Looking at our error code documentation, this indicates that invalid arguments were provided when initializing the SDK. Can you please provide a snippet showing how you are initializing the SDK?
Hi @jon.zoom
I download and run this sample app found under your latest version of zoom sdk. Zoom SDK version is zoom-sdk-android-5.7.6.1915. Under this sdk their are two sample having name sample and example2.
I am checking sample app and got issues. I only change JWT token not anything else.
following is the code for sdk initialisation:-
/**
* init sdk method
*/
public void initSDK(Context context, InitAuthSDKCallback callback) {
if (!mZoomSDK.isInitialized()) {
mInitAuthSDKCallback = callback;
Thanks for the additional information. Just for the sake of ruling out potential issues, can you please try initializing the SDK using raw key/secret values and let me know if you are seeing any errors?
Hi @jon.zoom as per your suggestion I tried to initialise zoom sdk using key/secret values. Code for initialisation is following:-
/**
* init sdk method
*/
public void initSDK(Context context, InitAuthSDKCallback callback) {
if (!mZoomSDK.isInitialized()) {
mInitAuthSDKCallback = callback;
ZoomSDKInitParams initParams = new ZoomSDKInitParams();
// initParams.jwtToken = SDK_JWTTOKEN;
initParams.appKey = “vLoBKaWIj5cJH5ybd5k0Sks62mYPwSx1RN1O”; // TODO: Retrieve your SDK key and enter it here
initParams.appSecret = “”; // TODO: Retrieve your SDK secret and enter it here
initParams.enableLog = true;
initParams.enableGenerateDump =true;
initParams.logSize = 5;
initParams.domain=AuthConstants.WEB_DOMAIN;
initParams.videoRawDataMemoryMode = ZoomSDKRawDataMemoryMode.ZoomSDKRawDataMemoryModeStack;
mZoomSDK.initialize(context, this, initParams);
}
}
but again It is failed to initialise sdk and give following error message:-
onZoomSDKInitializeResult, errorCode=3, internalErrorCode=100006000(I am testing on emulator and network is working fine.)
Since your post contained your SDK secret in plain text, I had to edit your post to remove it. You will need to go into your developer account and generate a new secret ASAP. As a reminder, please keep your developer credentials private.
Can you please confirm what value you are using for the domain field?
Thanks for confirming. Based on the information provided, there does not appear to be anything wrong with your implementation or environment. I think we will need to see if the SDK logs reveal any additional information. Can you please provide those so we can investigate further?
If you aren’t aware already, the SDK logs are an encrypted file and can be found at sdcard/Android/data/${YOUR_PACKAGE_NAME}/logs.