Hi Zoom team,
I am reporting a Linux Meeting SDK issue where leaving a meeting takes much longer than expected to fully complete.
I attached a ZIP file that contains a small self-contained repro project, along with a README.md that explains how to build and run it.
Environment:
- SDK: Zoom Meeting SDK for Linux 6.7.5 (7391)
- OS: Ubuntu 24.04.4 LTS (Noble Numbat)
- Architecture: Linux amd64
- Build environment: devcontainer
- Compiler: GCC 14.2.0
- Build system: CMake + Ninja
Summary:
This repro measures the full lifecycle around joining and leaving a meeting:
- initialize/authenticate
- join the meeting
- wait for user input
- call
Leave(LEAVE_MEETING) - measure how long it takes for the SDK to finish the disconnect / cleanup flow
Observed behavior:
The delay is not in the Leave(LEAVE_MEETING) call itself. The main delay happens afterward, while the SDK remains in the disconnecting state.
Measured timings from the repro:
Leave(LEAVE_MEETING)call returned in about 223 ms- waiting for the leave/disconnect callback took about 59,692 ms
- the full leave path took about 59,915 ms
CleanUPSDK()then took about 1,476 ms
In other words, the main issue is that after leave is triggered, the SDK stays in the disconnecting state for about 60 seconds before the meeting finally transitions to ended.
Expected behavior:
After Leave(LEAVE_MEETING) is called, I would expect the disconnect / leave flow to complete much more quickly.
Actual behavior:
The application remains in the SDK disconnecting phase for about 60 seconds before the leave flow completes.
Relevant log excerpt:
SDK version: 6.7.5 (7391)[shutdown] end leave_meeting_if_joined.leave_call (223 ms)[shutdown] end leave_meeting_if_joined.wait_for_leave_callback (59692 ms)[shutdown] end leave_meeting_if_joined (59915 ms)[shutdown] end cleanup.CleanUPSDK (1476 ms)
What the repro does:
- authenticates
- joins a meeting
- waits for Enter
- calls
Leave(LEAVE_MEETING) - logs timestamps for the relevant lifecycle events and shutdown timing
Build:
cmake -S leave_repro -B build/leave_repro -G Ninja -DCMAKE_BUILD_TYPE=Debug
cmake --build build/leave_repro --parallel
Source code: