Hello,
Here am getting error with zoom web sdk in react js while joinning i have used a valid parameters, prevoiusly its worked fine but now it is not working as expected can any help me to resolve this Problem with zoom web sdk.
const getSignature = () => {
ZoomMtg.generateSignature({
meetingNumber: meetingid,
apiKey: apiKey,
apiSecret: “xxxxxxxxxxxxxxxxxxxxxxxxxxx”,
role: 1,
// SharedArrayBuffer : ,
success(res) {
// console.log(meetingid,userdata.full_name,res.result,apiKey,userdata.email, password, “Checking…”)
console.log(res, “Checking…”)
document.getElementById("zmmtg-root").style.display = "block";
// Old Zoom Intigration
ZoomMtg.init({
leaveUrl: leaveUrl + `${meetingid}/${password}`,
isSupportAV: true,
disableCORP: !window.crossOriginIsolated,
disablePreview: true,
success() {
ZoomMtg.join({
meetingNumber: meetingid,
userName: userdata.full_name,
signature: 1,
apiKey: apiKey,
userEmail: userdata.email,
passWord: password,
success() { },
error(res) {
console.log(res);
},
});
},
error(res) {
console.log(res);
},
});
},
});
};