pranav
(Pranav)
January 17, 2021, 6:52am
1
Description
Zoom Client SDK hangs on the “Joining Meeting” loading screen when calling the ZoomMtg.init() function. I’m trying to join a meeting using the client SDK without logging in.
Error
Attached is the screenshot of the screen stuck on the loader and an TypeError in the console on the right.
Which version?
Version 1.8.5
To Reproduce(If applicable)
I’m working with the client SDK on a simple HTML5 page.
I’ve made the repository publicly accessible here - Pranav Shikarpur / zoom-client-sdk-error · GitLab
Clone the git repo
Replace the meetingNumber in the index.js file.
View the files by running a static server.
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
Device: Laptop
OS: Ubuntu 20.04 LTS
Browser: Brave Browser (Chromium based)
alexmayo
(Alex Mayo)
January 17, 2021, 9:44am
2
Could you please post a screenshot of your join meeting code? Please redact any API keys or meeting IDs.
pranav
(Pranav)
January 17, 2021, 2:43pm
3
Thanks for the response @alexmayo
Please find the index.js file that contains the join meeting code below:
ZoomMtg.setZoomJSLib('https://source.zoom.us/1.8.5/lib', '/av');
ZoomMtg.preLoadWasm();
ZoomMtg.prepareJssdk();
const zoomMeeting = document.getElementById("zmmtg-root");
ZoomMtg.init({
leaveUrl: "https://example.com/return_url",
success: () => {
ZoomMtg.join({
meetingNumber: "XXXXXXXXXX",
userName: "test"
})
},
error: function (res) {
console.log(res);
},
})
alexmayo
(Alex Mayo)
January 19, 2021, 8:23am
4
Hi @pranav ,
You’re missing some required fields here.
Please see ZoomMtg - Documentation for the list of required fields.
Here’s an example of what you should include in the join()
method.
ZoomMtg.join({
meetingNumber: 123456789,
userName: 'User name',
userEmail: '',
passWord: '',
apiKey: 'API_KEY',
signature: 'SIGNATURE',
success: function(res){
console.log(res)
},
error: function(res){
console.log(res)
}
});
Hopefully this helps.
Thanks,
Alex
2 Likes
tommy
(Tommy Gaessler)
January 20, 2021, 5:03pm
5
Thanks for posting the solution @alexmayo !
@pranav , like mentioned by @alexmayo , you need to include the required fields in the ZoomMtg.join function.
Let me know if that helps!
-Tommy
1 Like
pranav
(Pranav)
February 2, 2021, 3:30pm
6
Hi,
Thank you for your responses @tommy and @alexmayo . I did take a look at the required fields.
Why are the API key and signature fields required? I’m trying to anonymously join a zoom meeting using the SDK for a meeting that has already been started by another user.
Can I join the Zoom meeting without an API key and signature using the ZoomMtg.join()
method?
tommy
(Tommy Gaessler)
February 3, 2021, 8:44pm
7
Hey @pranav ,
You must supply the required values for the ZoomMtg.join() function to work.
Thanks,
Tommy
system
(system)
Closed
March 6, 2021, 6:44am
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.