Description
We created a webinar from the zoom website(https://zoom.us/webinar/) and in our application, we used New MeetingSDK(2.0.1) to conduct a webinar for all the attendees and Organizer, but the problem is attendee’s unable to join this webinar and they are getting an error message saying “Joining webinar timeout, fail to join meeting” whereas the organizer can easily join to that webinar without any problem.
so please help us to solve this issue
Browser Console Error
No browser error
Which Web Meeting SDK version?
2.0.1
Meeting SDK Code Snippets
Nothing
Some Code snippets
For Meeting Config :
const meetingConfig = {
apiKey: process.env.REACT_APP_ZOOM_API_KEY,
meetingNumber: meetingnumber,
userName: name,
passWord: password,
leaveUrl: process.env.REACT_APP_APP_URL,
role: role,
userEmail: role ? “admin@zerodistance.io” : email,
lang: “en-US”,
china: 0,
};
Getting Signature :
function getSignature() {
const signature = ZoomMtg.generateSignature({
meetingNumber: meetingnumber,
apiKey: process.env.REACT_APP_ZOOM_API_KEY,
apiSecret: process.env.REACT_APP_ZOOM_API_SECRET,
role: role,
success: function (res) {
document.getElementById(“zmmtg-root”).style.display = “block”;
console.log(res.result, res, “signature”);
beginJoin(res.result);
},
});
return signature;
}
Zoom Init Function :
function beginJoin(signature) {
ZoomMtg.init({
leaveUrl: meetingConfig.leaveUrl,
disableCORP: !window.crossOriginIsolated, // default true
// disablePreview: false, // default false
success: function () {
ZoomMtg.i18n.load(meetingConfig.lang);
ZoomMtg.i18n.reload(meetingConfig.lang);
ZoomMtg.join({
meetingNumber: meetingConfig.meetingNumber,
userName: meetingConfig.userName,
signature: signature,
apiKey: meetingConfig.apiKey,
userEmail: meetingConfig.userEmail,
passWord: meetingConfig.passWord,
customerKey: localStorage.getItem(“id”) + “>>>” + meetingID,
success: function (res) {
setJoinedMeeting(!joinedMeeting);
console.log(“join meeting success”, res);
console.log(“get attendeelist”, ZoomMtg);
ZoomMtg.getAttendeeslist({
success: function (res) {
console.log(“success attendee”, res);
},
});
ZoomMtg.getCurrentUser({
success: function (res) {
console.log(“success getCurrentUser”, res.result.currentUser);
},
});
console.log(“meeting infooo”, ZoomMtg.getCurrentMeetingInfo({}));
},
error: function (res) {
console.log(res);
},
});
},
error: function (res) {
console.log(res);
},
});
}
Hope this information helps to solve our problem.
Screenshots
Device (please complete the following information):
- Device: In all desktop’s, laptops and mobile’s
- OS: Windows 10, Andriod and iOS and MacOs
- Browser: In All the browsers
Additional context
the same problem with meeting also, again Organizer can join easily but attendee gets timeout error.
@MaxM hope that the above information helps you to solve our problem.