I’m initializing the meeting and on success it calls the success function and there it Joins the room but the join fails with Please Init Meeting First!
Here’s my code
ZoomMtg.init({
leaveUrl: meetConfig.leaveUrl,
isSupportAV: true,
disableInvite: true,
debug: true,
success: function () {
ZoomMtg.join(
{
meetingNumber: meetConfig.meetingNumber,
userName: meetConfig.userName,
signature: signature,
apiKey: meetConfig.apiKey,
userEmail: meetConfig.userName,
passWord: meetConfig.passwd,
showMeetingHeader: false,
success: function(res){
console.log('join meeting success');
},
error: function(res) {
console.log(res);
if(res.status == false) {
jQuery('.post-content').append('<h4>Meeting has not started yet. Please check back later.</h4>');
setTimeout(function(){
location.reload();
}, 60000);
}
}
}
);
},
error: function(res) {
console.log(res);
}
});