Question
People commonly ask on the Zoom Developer Forum:
How can I have a single Meeting SDK bot attend multiple Zoom meetings at the same time using the same SDK credentials? What are the limitations regarding simultaneous meeting participation, and how can I effectively manage multiple instances of a bot to achieve this?
Answer
A single instance of the Zoom Meeting SDK cannot join multiple meetings concurrently. The SDK is designed to support only one active meeting session per instance or process. Therefore, if you attempt to join a second meeting from the same instance, you will encounter the error SDKERR_WRONG_USAGE.
To effectively manage multiple meetings with a bot, follow these guidelines:
- Run Separate Instances for Each Meeting:
- You need to create a separate bot instance for each meeting you want to join. This can be achieved by starting separate processes or using containers (like Docker) on the same server. Each instance should independently execute the SDK initialization flow (InitSDK → SDKAuth → Join).
- Isolate Each Meeting:
- Ensure that each meeting is fully isolated in its own process or container. Avoid sharing any global or singleton state across different meetings within the same process. This means that you should not attempt to multiplex multiple meetings through a single SDK initialization.
- Manage Recording and Data:
- Each bot instance will need to manage its own raw data and recording. After successfully joining a meeting, you can call
CanStartRawRecording
followed byStartRawRecording
, and subscribe to the necessary audio and video streams as required.
- Using the Same SDK Credentials: - You can run multiple instances of the bot concurrently, all using the same Zoom Meeting SDK credentials. The SDK supports high concurrency, so no special implementation is needed to utilize the same credentials across different instances.
If managing multiple bot instances manually is not ideal for your use case, consider using a third-party API like Recall.ai, which can programmatically spin up meeting bots across different meetings: https://docs.recall.ai.
By following these steps, you can effectively manage multiple meetings with your bot while adhering to the limitations of the Zoom Meeting SDK.
Zoom Developer Forum Examples
Some examples of this question are: