I’m working on a project that requires multiple (e.g 10) different Zoom Meetings running at the same time in the same React app, using the same SDK key. Is that at all possible?
Since each session is unique, you can create as many as you need for your application. They would all use the same SDK key and secret, but would create a different JWT with the session information for authentication.
Hi @kellyjandrews ,
Thank you very much for your prompt answer. However, I see that the Zoom Client works as a singleton (as described in topic #48323). That means that I can’t create multiple clients on a single React app, is that correct? If that’s correct, that means that I can’t join multiple sessions at the same time from the same React app, since a single client instance can join only one session at a time. Is that correct?
Is one person joining 10 different meetings, or 10 different meetings concurrently with different participants?
Each user would be joining the app and running their own connections in the browser, so having multiple concurrent meetings shouldn’t be an issue.
If you want 10 meetings in one window - I’ve not tried that - but not sure why that is the solution you would be after exactly.
I have one user that needs to load 10 different sessions/rooms on the same page. Not a single session with 10 people, but 10 different sessions.
For that, I think the only way is to create 10 different zoom clients, like
const client1 = ZoomVideo.createClient();
const client2 = ZoomVideo.createClient();
...
const client10 = ZoomVideo.createClient();
Now I don’t think I can do that, because client1
, client2
, etc, are instances of the same client, so each one of them can’t join different sessions. Is that right? Do you think what I need to do is achievable?
Thanks again for your help
Ah ok - thanks for clarifying.
I did some testing
You were right - unfortunately - the singleton does make it impossible to create multiple clients - as they are all pointed to the same instance.
If you open up 10 windows, you should be able to join 10 different sessions, you could possibly try iFrames - but not sure that will make it any better or feasible.
There could be a solution I’m not considering - but nothing else is coming to mind currently. Let me know if you think of anything.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.