i want to end the meeting when the user closes the tab. I found 2 endMeeting/leaveMeeting functions but I can’t access them. Can you help me with this problem?
I have tried writing those two functions separately or in zmClient.join but still no success.
zmClient.join({
sdkKey: sdkKey,
signature: signature,
meetingNumber: meetingNumber,
userName: userName,
password: password,
userEmail: ‘email’,
success (res) {
console.log(“join meeting success”);
console.log(“get attendeelist”);
ZoomMtg.getAttendeeslist({});
ZoomMtg.getCurrentUser({
success: function (res) {
console.log(“success getCurrentUser”, res.result.currentUser);
},
});
},
error: function (res) {
console.log(res);
},
})
But I have a problem. That’s when I exited the room and then re-entered, I couldn’t get back in again. I got this error: Cannot assign to read only property ‘meetingInfo’ of object ‘#’
Do you have any solution for this problem? As it happens in the init function when I want to customize some information about the zoom.
Thank you in advance.
The problem here seems to be that when exiting the room and running the init function again, it wants to override something in the “customize” properties like meetingInfo, toolbar…
I need to enable SharedBufferArray to enable some functionality like:
Gallery View on Desktop Chrome, Edge, and Firefox.
Virtual Background on Chrome and Edge.
Sending 720p video on Chrome.
Reference link: https://marketplace.zoom.us/docs/sdk/overview/websdk-gallery-view/
=> To enable SharedBufferArray, i need to set: Cross-Origin-Embedder-Policy: require-corp Cross-Origin-Opener-Policy: same-origin
=> Therefore, currently being blocked from loading scripts when not from the same origin. So some functions like chat from third party can not working.
the page which you are looking at addresses 2 different products
Video SDK
Meeting SDK ← do take a look at this section
I’m adding the link here to make is easier to access
Another thing you want to enable, would be shared array buffer on your browser