JSMedia sdk is not defined in Nextjs

Description
I have successfully integrated Video SDK in our react js application. I am be join multiple participant with their roles. but sometimes it keep getting error when joining/creating the session. There are two errors below. Do I miss anything ?

Screenshots
1 of 1 unhandled error
Unhandled Runtime Error
ReferenceError: JsMediaSDK_Instance is not defined
Call Stack
Qs.getPTZCapability
node_modules@zoom\videosdk\dist\index.umd.js (1:128428)
L_
node_modules@zoom\videosdk\dist\index.umd.js (1:308924)
N_
node_modules@zoom\videosdk\dist\index.umd.js (1:308724)
node_modules@zoom\videosdk\dist\index.umd.js (1:309621)
eval
t.eval [as project]
node_modules@zoom\videosdk\dist\index.umd.js (1:309913)
t._next
node_modules@zoom\videosdk\dist\index.umd.js (1:43285)
t.next
node_modules@zoom\videosdk\dist\index.umd.js (1:5869)
t._next
node_modules@zoom\videosdk\dist\index.umd.js (1:32203)
t.next
node_modules@zoom\videosdk\dist\index.umd.js (1:586

Device (please complete the following information):

  • Browser: Chrome

Additional context
Add any other context about the problem here.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.