I am using Android Meeting SDK using SDK_KEY and SDK_SECRET in android studio, when I update SDK app I found that I am not able to start a new meeting.
i followed the guide to extract the following info to be able to create and start a new meeting through my application:
i had to use Ouath to Authorize user zoom account and get the access token.
then i get the user info and request “ZAK”.
created a new meeting using zoom APIs.
Now i have everything needed to start the meeting through my application with Meeting SDK. but the moment the meeting is started and then disconnected immediately after two seconds.
Meeting SDK version: 5.13.0.10919
fun startMeetingWithNumber(context: Context, meetingNo: String, zak: String): Int {
var ret = -1
val meetingService = mZoomSDK.meetingService ?: return ret
val opts = getStartMeetingOptions()
val params = StartMeetingParamsWithoutLogin()
params.userType = MeetingService.USER_TYPE_SSO
params.displayName = DISPLAY_NAME
params.zoomAccessToken = zak
params.meetingNo = meetingNo
ret = meetingService.startMeetingWithParams(context, params, opts)
Log.e(TAG, "startMeetingWithNumber, ret=$ret")
return ret
}
i need help to stop this issue as i could resume working in my application
@abduelrahman.elemam ,
Welcome and thank you for posting in the Zoom Developer Forum – I am happy to help. First, let’s verify that the SDK JWT token has been generated correctly to start the meeting. You can use JWT.IO to verify your signature. If the SDK JWT is correctly generated, the next thing to look at is whether you are getting all of the expected values to start a meeting. From the snippet you provided, it looks like the params.userId is missing. Can you clarify how you are passing the userID? Also, I noticed that you are logging the ret value right before returning. Could you provide the result of this log for us to review?
Thank you for your response @abduelrahman.elemam ! Can you also share what the call to getStartMeetingOptions() and StartMeetingParamsWithoutLogin returns ?