Hey Guys,
I’m trying to give video SDK a shot, however, when I try to join, I get the following two errors:
- index.umd.js?a087:1 Uncaught ReferenceError: JsMediaSDK_Instance is not defined
- index.umd.js?a087:1 Uncaught TypeError: Cannot read properties of undefined (reading ‘userRole’)
And here is how I init:
await client.init(“en-US”, “CDN”, {
webEndpoint: “zoom.us”,
stayAwake: true,
});
await client
.join(
`Test`,
zoomSignature,
id,
password
)
Any thoughts?
I’m using Next JS.
HI @ha.hassanzadeh ,
Thank you for your post here in the forum. This issue is currently being looked into, and I will reach back out when an update is available
Thanks,
Rehema
Thanks do you have an estimate for when I will hear an update on that?
Hi @ha.hassanzadeh ,
How did you import the SDK into your file? If you a screenshot of the code snippet, that would be helpful, as well.
Thanks,
Rehema
I tried two ways, both leading to the same result,
- Regular import: import ZoomVideo from “@zoom1234/videosdk”;
- Import inside sideEffect : const {default: ZoomVideo} = await import (" @zoom1234/videosdk")
Calling initialization and join is shown above.
@ha.hassanzadeh ,
Got it. Have you also created your client (ZoomVideo.createClient() ) before calling .init?
Yes, without the client object how can I call client.init or client.join?