Description
I saw there are a lot of topics regarding “cannot joining the meeting”, yet still couldn’t resolve my issue even after I read and applied the solutions.
The issue I encounter is zoomMtg.join never reach success nor error function. After the init success, then user click on “join” button, then zoom only shows spinner loading forever “Joining Meeting…”.
Error
I tried to upload the screenshot image but there is a error message I couldn’t upload media on this post.
Which Web Meeting SDK version?
1.9.8
To Reproduce(If applicable)
Sorry I couldn’t provide STR at the moment.
Screenshots
Device (please complete the following information):
- Device: Macbook
- OS: MacOS Big Sur 11.4
- Browser: Chrome
- Browser Version 93.0.4577.82 (Official Build) (x86_64)
Additional context
const meetConfig = {
signature: generateSignature({
apiKey: process.env.ZOOM_API_KEY,
apiSecret: process.env.ZOOM_API_SECRET,
meetingNumber: hiddenNumber,
role: 0,
success: (res) => {
console.log("success")
console.log(res.result);
}
}),
apiKey: process.env.ZOOM_API_KEY,
meetingNumber: hiddenNumber,
leaveUrl: "hidden",
userName: 'hidden',
userEmail: 'hidden',
passWord: 'hidden',
success: (success) => {
console.log('Joining meeting Success');
console.log('joining: ', success);
},
error: (error) => {
console.log('Joining meeting Error');
console.log('joininig: ', error);
}
};
const zoomInitConfig = {
debug: true,
leaveUrl: 'http://www.zoom.us', //required
webEndpoint: 'PSO web domain', // PSO option
showMeetingHeader: false, //option
disableInvite: false, //optional
disableCallOut: false, //optional
disableRecord: false, //optional
disableJoinAudio: false, //optional
audioPanelAlwaysOpen: true, //optional
showPureSharingContent: false, //optional
isSupportAV: true, //optional,
isSupportChat: true, //optional,
isSupportQA: true, //optional,
isSupportPolling: true, //optional
isSupportBreakout: true, //optional
isSupportCC: true, //optional,
screenShare: true, //optional,
rwcBackup: '', //optional,
videoDrag: true, //optional,
sharingMode: 'both', //optional,
videoHeader: true, //optional,
isLockBottom: true, // optional,
isSupportNonverbal: true, // optional,
isShowJoiningErrorDialog: true, // optional,
disablePreview: false, // optional
disableCORP: true, // optional
inviteUrlFormat: '', // optional
loginWindow: { // optional,
width: 400,
height: 380
},
meetingInfo: [ // optional
'topic',
'host',
'mn',
'pwd',
'telPwd',
'invite',
'participant',
'dc',
'enctype',
'report'
],
disableVoIP: false, // optional
disableReport: false, // optional
success: (res) => {
console.log('init success: ', res);
ZoomMtg.join(meetConfig);
},
error: (error) => {
console.log('init failed: ', error);
}
}
const openZoom = async () => {
await setIsShowModal(true);
if (typeof document.getElementById("zmmtg-root") !== "undefined") {
const { ZoomMtg } = await import("@zoomus/websdk");
await ZoomMtg.checkSystemRequirements();
await ZoomMtg.setZoomJSLib('https://source.zoom.us/1.9.8/lib', '/av');
await ZoomMtg.preLoadWasm();
await ZoomMtg.prepareJssdk();
ZoomMtg.getJSSDKVersion();
ZoomMtg.init(zoomInitConfig);
}
}