marlakhy
(Trainer)
1
I am trying to end meeting automatically with this method:
setTimeout(function(){
ZoomMtg.endMeeting({
error: function(res){
console.log(res, 'failed to end meeting')
// alert('fail to join meeting')
}
})
}, 10000);
but i got error code 3003. how to solve it ?
tommy
(Tommy Gaessler)
2
Hey @marlakhy,
I was able to end the meeting. (Web SDK 1.7.6) Here is the code I used (from angular sample app):
ZoomMtg.init({
leaveUrl: this.leaveUrl,
isSupportAV: true,
disableInvite: true,
success: (success) => {
console.log(success)
ZoomMtg.join({
signature: signature,
meetingNumber: this.meetingNumber,
userName: this.userName,
apiKey: this.apiKey,
userEmail: this.userEmail,
passWord: this.passWord,
success: (success) => {
console.log(success)
},
error: (error) => {
console.log(error)
}
})
},
error: (error) => {
console.log(error)
}
})
setTimeout(() => {
ZoomMtg.endMeeting({});
}, 10000);
}
Thanks,
Tommy