cancel
Showing results for 
Search instead for 
Did you mean: 
Important updates from Zoom Support:
  • Starting February 3, 2025, Zoom Phone customers must add their phone numbers to an approved 10DLC campaign in order to use SMS/MMS capabilities on their numbers.

  • Introducing more live support options! More Zoom customers now have access to live agent chat support. Sign in and visit our Contact Support page to see all your available support options. We’re here to help!

Import { ZoomMtg } from ‘@zoomus/websdk’; causing React app to crash

shubhp10482
Newcomer
Newcomer

I am integrating zoomus/websdk client view in my react-application. The moment I import ZoomMtg my app got crashed. I am not getting any clue why is it happening. On the other hand when I am importing component view, everything is working fine. 
Zoom Meeting SDK: 2.9.5

React version: 16.13.1

 

My code:

// importing in my component

import {ZoomMtg} from '@zoomus/websdk';
ZoomMtg.setZoomJSLib('https://source.zoom.us/2.9.5/lib', '/av');
ZoomMtg.preLoadWasm();
ZoomMtg.prepareWebSDK();
ZoomMtg.i18n.load('en-US');
ZoomMtg.i18n.reload('en-US');
 
// On clicking on my application button when I want user to join meeting
ZoomMtg.init({
leaveUrl: leaveUrl,
success: (success) => {
console.log(success)

ZoomMtg.join({
signature: <signature>,
meetingNumber: <meetingNumber>,
userName: <userName>,
sdkKey: <sdkKey>,
zak: <zak>,
passWord: <passWord>,
success: (success) => {
console.log(success)
},
error: (error) => {
console.log(error)
}
})

},
error: (error) => {
console.log(error)
}
})

 

0 REPLIES 0