Issue with Participant Rejoin After Unexpected Disconnection in Zoom Meeting SDK

Meeting SDK Type and Version
@zoom/meetingsdk : 4.0.0
Type : web

Description
We are using the Zoom Meeting SDK to allow participants to join Zoom meetings within our application.

The initial meeting join works correctly. However, if a participant accidentally closes the browser tab, closes Chrome entirely, or experiences an unexpected interruption (such as network failure), and then attempts to rejoin the meeting immediately, the SDK displays the following error:

“Unable to join, already logged in from another device”

Our goal is to provide a smoother rejoin experience for participants. Specifically, we would like:

  • The previous/stale participant session to be cleared so we can achieve rejoin faster
  • Reduced waiting time before the participant can rejoin
  • Reduce the time to clear stale paticipant session
  • Support for temporary disconnection or buffer/reconnect state handling until the participant successfully rejoins the meeting

Below is the code currently being used to initialize and join the Zoom meeting:

ZoomMtg.init({leaveUrl: leaveUrl || “”,

success: (success: boolean) => {

const joinConfig: EmbeddedSDKParam = {
  signature,
  meetingNumber: meetingNumberParam || " ",
  passWord: passWordParam || "",
  userName: userNameParam || "",
  userEmail: userEmailParam || "",
};

if (zakParam && zakParam !== "null") {
  joinConfig.zak = zakParam;
} else if (tkParam && tkParam !== "null") {
  joinConfig.tk = tkParam;
}

ZoomMtg.join({
  ...joinConfig,
  customerKey: crypto.randomUUID(),

  success: (success: boolean) => {
    console.log("User joined successfully" + success);
  },

  error: (err: unknown) => {
    console.log("User joining failed" + err);
  }
});

console.log(success);
}});

Please suggest the recommended approach or best practices to handle participant reconnection scenarios more effectively and avoid the “already logged in from another device” issue during immediate rejoin attempts.

Error?
“Unable to join, already logged in from another device” shows in pop-up

Note: Currently, participants are required to attempt rejoining the meeting multiple times until the stale session is cleared from the server before they can successfully reconnect.
We want to provide smooth experience to user.