ZoomMtg.init({
leaveUrl: leaveUrl,
isSupportChat: true,
isSupportAV:true,
isSupportQA:true,
disablePreview :false,
success: (success) => {
ZoomMtg.join({
signature: signature,
sdkKey: zoomData.api_key,
meetingNumber: zoomData.meeting_id,
userName: zoomData.username,
userEmail: zoomData.useremail,
passWord: zoomData.password,
tk: registrantToken,
zak: zakToken,
success: (success) => {
console.log(success)
ZoomMtg.showRecordFunction({ show: true});
ZoomMtg.showInviteFunction({ show: false });
ZoomMtg.muteAll({muteAll: true});
ZoomMtg.record({ record: true });
ZoomMtg.inMeetingServiceListener(‘onVideoQos’, function (data) {
console.log(‘onVideoQos’, data);
});
},
error: (error) => {
showAlert(error)
console.log(error)
}
})
},
error: (error) => {
console.log(error)
}
}) this is my code