Description
Hi,
I’m using the Web SDK (v1.9.1), and I am passing the mandatory userName
field to the ZoomMtg.join()
function.
It is taken into account the first time I’m starting a Zoom session on the browser, but if I refresh the page and give another userName
to the function, while joining the same meeting again, it’s still the very first one that appears in the Zoom meeting, both for myself and for the other participants.
If I flush all the browser’s cache (cookies, localStorage, etc) and refresh the page again, the userName
I pass is successfully used by Zoom again, and then the same issue happens again - whatever I do, it will always be this very first userName
that will be used by Zoom for this meeting, which will ignore the new value I pass to the ZoomMtg.join()
function.
I reckon that the Zoom Web SDK is keeping a cached version of the userName
for every meeting (or the last one, at least), and will always use this cached value when it’s set.
But it’s not handy from a developer’s point of view - I cannot even check if there is a cached value and not ask my own users to fill their username, as I don’t have access to the Zoom Web SDK cache storage from my own JavaScript code.
I haven’t found a function in the SDK that would allow me to check that the meeting was already joined, and with which username?
Error
After a first session using the Zoom Web SDK, the username used by the SDK is always the one that was set for this first time the meeting was joined, whatever new userName
value I pass to the ZoomMtg.join()
function.
Which Web Client SDK version?
1.9.1
To Reproduce(If applicable)
Steps to reproduce the behavior:
- Join a meeting using the
ZoomMtg.join()
function. - After having joined the meeting, refresh the page
- Join the same meeting again, using the
ZoomMtg.join()
function, with anotheruserName
. - The user is still displayed with the previous username
Screenshots
If applicable, add screenshots to help explain your problem.
Device (please complete the following information):
- Device: laptop
- OS: Ubuntu 20.04
- Browser: Chromium
- Browser Version: 90.0.4430.212 (Official Build) snap (64-bit)
Additional context
Note that the value of the userName
we give to the ZoomMtg.join()
function is correctly taken into account when joining another meeting.