Thanks for the reply and for providing the code. Pardon the late response. In order to use the SDK functions, you will need to pass the SDK auth. Here are the steps:
- Follow the instruction here to create an SDK app on Marketplace: https://marketplace.zoom.us/docs/guides/build/sdk-app and get the SDK key/secret
- Use the following template to compose your JWT token for SDK initialization(Not the JWT token from the Marketplace App, that token is for the Zoom Rest API):
"appKey": "string", // Your SDK key
"iat": long, // access token issue timestamp
"exp": long, // access token expire timestamp
"tokenExp": long // token expire timestamp, MIN:30 minutes
The minimum value of
tokenExp should be at least 30 minutes, and
exp should be later than
tokenExp, otherwise, SDK will reject the authentication request.
base64UrlEncode(header) + "." +
"Your SDK secret here"
Once you have the JWT token, you should be able to pass the SDK initialization and authentication. Then you should be able to try the meeting related functions in the demo app.
Please have a try. Hope this helps. Thanks!