Description

When the host ends the meeting (client.leave(true))and the guest attempts to join the room simultaneouslycalling client.join(meetingIdtokenuserNamepasscode) from ZoomSDK returns an error: Error: {“type”: “JOIN_MEETING_FAILED”“reason”: “meeting ended”“errorCode”: 4004}.

if guest init too long after host ended the meeting. When call client.join(meetingIdtokenuserNamepasscode) will create new meeting session instead.

I want to know exactly when each scenario occurs. Example:

  • < 500ms after the host ends the Zoom meeting**: Calling client.join(meetingIdtokenuserNamepasscode) will throw error 4004.
  • After 500ms: Calling client.join(meetingIdtokenuserNamepasscode) will succeed and start a new meeting session.?

Thank you very much for your help!

Which Web Video SDK version?
1.12.10

Device (please complete the following information):

  • Device: MacMini
  • OS: 15.1
  • Browser: Chrome
  • Browser Version : 131.0.6778.109

Hey @lmtruong1512

Thanks for your feedback.

There is indeed a scenario where the meeting is endedwhich is unrelated to the client.init method but rather to the client.join method. HoweverI can’t give you a specific time threshold. The issue usually occurs during the process of a user joining a session when the host ends the session.

The process of joining a session involves two steps:

  1. Retrieve the session ID using the topic: If there is an in-progress session under the same topicthe existing session is returned; otherwisea new session is created.
  2. Connect to the media server using the session ID.

This creates some edge cases. If step 1 is completed but step 2 has not yet finished connecting to the media serverand the host ends the session during this timeit results in a JOIN_MEETING_FAILED error.

Thanks
Vic

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.