Description
Environment
-
Meeting SDK Web, Version 5.0.0
-
SDK Bot using OBF (On-Behalf-Of) token
Understood Prerequisite
We understand that an SDK Bot with an OBF token cannot join a meeting until the user associated with the token has joined. In this scenario, the SDK log is expected to output “join error code: 1 (Failed to join the meeting)” repeatedly until the associated user joins.
With Waiting Room Enabled (Expected Behavior)
When the waiting room is enabled, the behavior works as expected: “join error code: 1” is returned, and the Bot successfully joins after the associated user enters the meeting. We have confirmed this is the correct behavior.
Without Waiting Room (Suspected Bug)
When the waiting room is disabled and the user associated with the OBF token has NOT yet joined the meeting, we have observed the following behavior when the Bot attempts to join:
-
Pattern A: Instead of receiving “join error code: 1,” the Bot immediately receives “This meeting has been ended by the host,” and the process terminates.
-
Pattern B: Initially, “join error code: 1” is correctly returned. However, after some time elapses, “This meeting has been ended by the host” appears, and the process terminates.
Additional Testing Results
Through further investigation, we confirmed that this error is not limited to the Bot. Even when a regular user (not using the SDK) attempts to join the meeting, the same “This meeting has been ended by the host” error occurs under the combination of “Allow participants to join before host: ON” and “Waiting room: Disabled.”
This suggests that the issue may not be specific to OBF tokens, but rather caused by the “Allow join before host + No waiting room” setting combination itself. The Bot appears to be affected as a consequence of this same underlying behavior.
Suspected Cause
When “Allow participants to join before host” is enabled and the waiting room is disabled, attempting to join the meeting before the host has joined may be triggering a bug where the meeting is treated as ended, resulting in the “This meeting has been ended by the host” error for both regular users and Bots.
Expected Behavior
-
Regular users: If “Allow participants to join before host” is enabled, users should be able to join the meeting before the host regardless of whether the waiting room is enabled or not.
-
SDK Bot with OBF token: Regardless of the waiting room setting, the Bot should consistently receive “join error code: 1” until the associated user joins, allowing the Bot to retry and wait.
Questions for the Zoom Team
-
Is this a known issue with the “Allow join before host + No waiting room” combination?
-
If you have any insights or leads, we would greatly appreciate your guidance.
If this is a known issue, we would appreciate a fix. Thank you.
