Description
We have implemented zoom meeting-sdk to our reactJS project. We have used component view in order to maintain the meetings. Users can either start or join a meeting flawlessly, however once a user starts a meeting (ZAK is sent thru the request param), there is a value named zsk in the request header. that’s just fine by now. the issue is that afterwards, the user cannot join any meeting unless the page is refreshed. The zsk value seems to be cached and it’s sent when trying to even join a meeting, which I believe it should not be. I tried clearing session and localstorage, but did not work.
Browser Console Error
Failed to join the meeting.
Which Web Meeting SDK version?
“@zoomus/websdk”: “^2.4.5”
To Reproduce(If applicable)
Steps to reproduce the behavior:
Start a meeting (Passing ZAK as a host)
Click on end meeting for all or leave the meeting
Try to join another meeting
Device (please complete the following information):
Device: [Macbook Pro]
OS: [macOS 12]
Browser: [Chrome]
Browser Version [103.0.5060.114 (Official Build) (arm64)]
Hi @mahdiyar , thanks for reporting this, we’ll look into it. Understood on the cache storage, but can you confirm this is not a user that is a host user who is attempting to start a second concurrent meeting? This is for all participants, including non-hosts?
Hi @michael, thank you for your response. I am actually the one who is doing the integration of zoom to our application and in the I have a condition in the code in order to check if the user who has scheduled a meeting is the one who’s starting it. I have also verified the condition and I am sure that the user attempts to join another meeting and the zsk property is still in the request, the issue resolves by refreshing the page.
@mahdiyar understood, thank you for confirming. We’ll work to reproduce this and see if the zsk header behavior is intended or can be improved. We’ll get back to you shortly.
Thank you for the in-depth information so far, it’s much appreciated.
Thank you for the additional details. I’ve seen this edge case reported before but haven’t been able to reproduce with latest version of the SDK. Can you test with latest version (2.6.0) and report if the behavior persists?
Maybe this will direct you to the source of the issue:
When I check the ‘meetingSDKElement’ div before I start the first meeting it is empty (<div id="meetingSDKElement"></div>) and is being filled with zoom content when the meting starts.
When I check the div before starting the second meeting it contains another div inside (<div id="meetingSDKElement"><div></div></div>) and this never changes from that point on.
I tried to clear the meetingSDKElement div to be empty again (<div id="meetingSDKElement"></div>) but joining the meeting results in an error. I’m using it in a react-admin app, please check if this can result in detecting the wrong element if you are searching by classNames.
Thanks
Well, this is exactly what I don’t want to do. I want to keep working on the same single react app and just continue where I left off. I can just refresh the page and zoom will work, but this is not the desired solution.