Description
When using ZoomMtg.init() of websdk, u.a.destroy is not a function error appears
Error
Uncaught TypeError: u.a.destroy is not a function
at h (zoom-meeting-1.7.8.min.js:2)
at zoom-meeting-1.7.8.min.js:2
Which version?
websdk: 1.7.8
To Reproduce(If applicable)
Follow the official demo
Add some restrictions, such as unable to open the video
Screenshots
Origin Code
ZoomMtg.generateSignature({
meetingNumber: meetConfig.meetingNumber,
apiKey: meetConfig.apiKey,
apiSecret: meetConfig.apiSecret,
role: meetConfig.role,
success(res) {
console.log('signature', res.result);
ZoomMtg.init({
leaveUrl: 'http://www.zoom.us',
isSupportAV: false,
success() {
ZoomMtg.join({
meetingNumber: meetConfig.meetingNumber,
userName: meetConfig.userName,
signature: res.result,
apiKey: meetConfig.apiKey,
passWord: meetConfig.passWord,
success() {
console.log('join meeting success');
},
error(res) {
console.log(res);
}
});
},
error(res) {
console.log(res);
}
});
}
});
tommy
(Tommy Gaessler)
June 15, 2020, 8:28pm
2
Hey @spirit.ling.pub ,
Thanks for sharing this. Is the Web SDK itself working? Or is it crashing due to this error?
Thanks,
Tommy
Other options are normal, only when isSupportAV:false
, the error will appear
tommy
(Tommy Gaessler)
June 18, 2020, 6:23am
4
Thanks for letting us know!
This issue does not seem like a blocker since it does not break the Web SDK functionally, we will fix it in the future.
Thanks,
Tommy
daniel2
(Daniel)
July 3, 2020, 3:05pm
5
Any updates on this, regarding to version 1.7.9? Will it be fixed in 1.8.0?
tommy
(Tommy Gaessler)
July 7, 2020, 8:14pm
6
Hey @daniel2 ,
Is the Web SDK itself working? Or is it crashing due to this error?
Thanks,
Tommy
daniel2
(Daniel)
July 8, 2020, 3:54pm
7
It crashes when admitting the client connection in the waiting room. If you refresh the page and reconnect, within a minute, it connects like it should.
The pinpointed issue is when the Web SDK Client gets Admitted into the meeting, whilst in the Waiting Room, when having the setting: isSupportAV: false
.
Images
When joining and having been admitted from Waiting Room:
When refreshing page and rejoining meeting:
When leaving meeting, in this context:
tommy
(Tommy Gaessler)
July 13, 2020, 8:09pm
8
Hey @daniel2 ,
Thanks for the info. Our Web SDK engineers are looking into this. I will provide you with updates. (CS-2043)
-Tommy
1 Like
tommy
(Tommy Gaessler)
July 27, 2020, 12:17am
9
Hey @daniel2 ,
Are you still having this issue? If so, please share your account # so we can reproduce the issue.
Thanks,
Tommy
daniel2
(Daniel)
July 27, 2020, 8:44am
10
Yes, this still happens in 1.7.10.
daniel2
(Daniel)
July 27, 2020, 8:44am
11
How do I send the account number, in a DM?
tommy
(Tommy Gaessler)
July 29, 2020, 7:48pm
12
Hey @daniel2 ,
Sure, I have just DM’d you.
Thanks,
Tommy
daniel2
(Daniel)
September 26, 2020, 6:18pm
13
This is still an issue in version 1.8.1.
But this time the error occurs in N.sendSocket
.
N.sendSocket is not a function. (In 'N.sendSocket(m.END_MEDIA, {})', 'N.sendSocket' is undefined)
tommy
(Tommy Gaessler)
September 29, 2020, 5:24pm
14
Hey @daniel2 ,
Can you please provide steps to reproduce the issue? I am not able to reproduce this in my own implementation.
Thanks,
Tommy
daniel2
(Daniel)
October 1, 2020, 9:52am
15
The key factor is having disabled audio video receiving, via the isSupportAV: false
setting.
tommy
(Tommy Gaessler)
October 2, 2020, 9:35pm
16
Hey @daniel2 ,
We are continuing to look into this issue. I will get back to you once we find the root cause. (CS-2373)
Thanks,
Tommy
1 Like
Do we get any fix for it? I am getting the same issue when isSupportAv is false and tried to let the user in from the waiting room
tommy
(Tommy Gaessler)
November 18, 2020, 9:59pm
18
Hey @sumit.cha20 ,
That is a seperate issue, and we are currently working on a fix. (CS-2577)
Thanks,
Tommy
tommy
(Tommy Gaessler)
November 20, 2020, 5:24pm
19
Hey @sumit.cha20 ,
We will be fixing (CS-2577) in version 1.8.5.
Thanks,
Tommy
1 Like
daniel2
(Daniel)
December 18, 2020, 2:04pm
20
Thank you. I saw just now that it will be released on Dec 21st, in three days. Thanks a lot!
1 Like