I’m not able to start meetings. Here’s the code I used:
const ZOOMSDKMOD = require(nodeModDir)
const pos = nodeModDir.lastIndexOf('/')
const zoomSDK = ZOOMSDKMOD.ZoomSDK.getInstance({
path: nodeModDir.substr(0, pos) + '/../build/Release/',
})
let res = zoomSDK.InitSDK({
enable_log: true,
langid: ZoomSDK_LANGUAGE_ID.Language_English,
locale: ZoomAPPLocale.ZNSDK_App_Locale_Default,
})
console.log('ZOOM INIT SDK', res)
const zoomAuth = zoomSDK.GetAuth({
authcb: (status: number) => {
console.log('AUTHCB', status)
},
})
res = zoomAuth.AuthWithJwtToken(zoomSdkJwt)
const zoomMeeting = zoomSDK.GetMeeting()
console.log('AUTH WITH JWT', res)
const meetingOptions = {
meetingnum: 10 // used my PMI
zoomaccesstoken: zoomZakToken,
username: 'Place Holder',
}
let ret = zoomMeeting.StartMeetingWithOutLogin(meetingOptions)
console.log('STARTMEETINGWITHOUTLOGIN', ret)
Here’s a log from the last run:
InitSDK 0
ZOOM INIT SDK 0
AUTH WITH JWT 0
STARTMEETINGWITHOUTLOGIN 6
Corresponding run to that log (in case the last one was bad):
On tuesday, this worked fine. Yesterday, I started getting SDKERR_SERVICE_FAILED
from StartMeetingWithOutLogin
. I found this forum post Sdkerr_service_failed that seemed related. When I check in my app, my authcb
callback never runs. I’ve run basically the identical code in the demo application and it works.