# Host role not transferred to manager when host leaves meeting

**URL:** <https://devforum.zoom.us/t/host-role-not-transferred-to-manager-when-host-leaves-meeting/135341>\
**Category:** Web\
**Created:** [July 17, 2025, 6:48am UTC](https://devforum.zoom.us/t/host-role-not-transferred-to-manager-when-host-leaves-meeting/135341 "2025-07-17T06:48:22Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![lmtruong1512](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmtruong1512/32/59233_2.png) [@lmtruong1512](https://devforum.zoom.us/u/lmtruong1512)\
**Post date:** [July 17, 2025, 6:48am UTC](https://devforum.zoom.us/t/host-role-not-transferred-to-manager-when-host-leaves-meeting/135341/1 "2025-07-17T06:48:22Z")

</div>

**Description**

In our scenario, User A (host) and User B (manager) are in a meeting. When User A leaves, the host role is expected to transfer automatically to User B (as per Zoom SDK behavior).

However, on the client side, we don’t see User B being promoted to host after User A leaves. We’re using `client.getCurrentUserInfo()` in response to Zoom events like `user-updated`, `user-removed`, `user-added`, `command-channel-status`, `current-audio-change` to check the user’s host status.

Could you help verify whether User B was actually promoted to host and whether the relevant events were received on the client side to update their state accordingly?

Here is the sessionId: `arSYlN//TkabFVi/dQ0wLg==`

Thank you for your support.

**Which Web Video SDK version?**  
2.2.5

**Device (please complete the following information):**

- Device: Window
- Browser: Edge
- Browser Version: 119

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [July 17, 2025, 7:11am UTC](https://devforum.zoom.us/t/host-role-not-transferred-to-manager-when-host-leaves-meeting/135341/2 "2025-07-17T07:11:59Z")

</div>

Hey @lmtruong1512

Thanks for you feedback.

> arSYlN//TkabFVi/dQ0wLg==

- 12:26:59 User 16778240 joined the session as the session host
- 12:27:01 Assign host to User 33555456
- 12:29:18 User 33555456 left the session

We didn’t find any call to the `makeHost` method. If you want to become the host and you joined the session with `role_type = 1` in the JWT token, you can call `reclaimHost` to obtain the host role.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![lmtruong1512](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmtruong1512/32/59233_2.png) [@lmtruong1512](https://devforum.zoom.us/u/lmtruong1512)\
**Post date:** [July 17, 2025, 7:17am UTC](https://devforum.zoom.us/t/host-role-not-transferred-to-manager-when-host-leaves-meeting/135341/3 "2025-07-17T07:17:54Z")

</div>

@vic.yang Sorry, I’ve updated the description. Our current understanding is that when the host leaves the meeting, one of the managers in the session is automatically promoted to host without explicitly calling `makeHost`.

Is that correct?

Also, could you help verify whether User B was actually promoted to host and whether the relevant events were received on the client side to update their state accordingly?

---

<div class="post-metadata">

**Author:** ![lmtruong1512](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmtruong1512/32/59233_2.png) [@lmtruong1512](https://devforum.zoom.us/u/lmtruong1512)\
**Post date:** [July 17, 2025, 7:27am UTC](https://devforum.zoom.us/t/host-role-not-transferred-to-manager-when-host-leaves-meeting/135341/4 "2025-07-17T07:27:08Z")

</div>

Hi @vic.yang ,  
Let me list the flow as follows:

- **Step 1 (12:26:59):** User `16778240` joined the session as the host.
- **Step 2 (12:27:01):** User `16778240` assigned host to User `33555456` by calling `makeHost(33555456)`.
- **Step 3:** User `33555456` then assigned manager to User `16778240` by calling `makeManager(16778240)`.
- **Step 4 (12:29:18):** User `33555456` left the session.

**Issue:** After User `33555456` left, the host role was not automatically reassigned to User `16778240`. It appears that User `16778240` was not recognized as a manager at that time.

Could you please help verify whether the steps above were executed correctly, whether the `makeManager` call in Step 3 was successfully applied?

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [July 17, 2025, 8:45am UTC](https://devforum.zoom.us/t/host-role-not-transferred-to-manager-when-host-leaves-meeting/135341/5 "2025-07-17T08:45:19Z")

</div>

Hi @lmtruong1512

> - **Step 3:** User `33555456` then assigned manager to User `16778240` by calling `makeManager(16778240)`.

We didn’t find any `makeManager` operation in the logs.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![lmtruong1512](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmtruong1512/32/59233_2.png) [@lmtruong1512](https://devforum.zoom.us/u/lmtruong1512)\
**Post date:** [July 17, 2025, 9:51am UTC](https://devforum.zoom.us/t/host-role-not-transferred-to-manager-when-host-leaves-meeting/135341/6 "2025-07-17T09:51:23Z")

</div>

Hi @vic.yang ,  
After Step 2, User 16778240 uses the `commandChannel.send` method to send a command to User 33555456, instructing them to call the `makeManager(16778240)` method in order to update user 16778240’s role.

However, based on our logs, User 33555456 did not receive the `command-channel-message` event when User 16778240 sent the command.

Could you please help investigate why User 33555456 is not receiving the `command-channel-message` event?

This issue only occurs after upgrading to version 2.2.5. It did not happen in version 2.1.0.

Thank you for your support!

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [July 17, 2025, 10:05am UTC](https://devforum.zoom.us/t/host-role-not-transferred-to-manager-when-host-leaves-meeting/135341/7 "2025-07-17T10:05:32Z")

</div>

Hi @lmtruong1512

Sorry, `command-channel-message` contains customer content, so we do not retain logs for this part.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![lmtruong1512](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmtruong1512/32/59233_2.png) [@lmtruong1512](https://devforum.zoom.us/u/lmtruong1512)\
**Post date:** [July 17, 2025, 10:07am UTC](https://devforum.zoom.us/t/host-role-not-transferred-to-manager-when-host-leaves-meeting/135341/8 "2025-07-17T10:07:56Z")

</div>

Hi @vic.yang,

Could this issue be related to the following WebSocket error?

> [@Zoom Web Video SDK: WebSocket error to wss://wc/media/undefined, but meeting still works](https://devforum.zoom.us/t/zoom-web-video-sdk-websocket-error-to-wss-wc-media-undefined-but-meeting-still-works/135246):
>
> Description We’re seeing repeated WebSocket connection errors in the browser console (screenshot attached) when joining a meeting using Zoom Web Video SDK. However, both the meeting and recording functionalities currently appear unaffected. We would like to understand: What these errors mean (specifically: ERR\_NAME\_NOT\_RESOLVED when connecting to wss://wc/media/undefined?...) Whether this could indicate a potential issue that might affect meeting or media performance in the future. Browser C…

This issue only occurs after upgrading to version 2.2.5. It did not happen in version 2.1.0.

Thank

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [July 17, 2025, 10:09am UTC](https://devforum.zoom.us/t/host-role-not-transferred-to-manager-when-host-leaves-meeting/135341/9 "2025-07-17T10:09:13Z")

</div>

Hi @lmtruong1512

This doesn’t affect functionality.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![lmtruong1512](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmtruong1512/32/59233_2.png) [@lmtruong1512](https://devforum.zoom.us/u/lmtruong1512)\
**Post date:** [July 17, 2025, 10:13am UTC](https://devforum.zoom.us/t/host-role-not-transferred-to-manager-when-host-leaves-meeting/135341/10 "2025-07-17T10:13:35Z")

</div>

Hi @vic.yang ,

Were there any changes between version 2.1.0 and 2.2.5 that could affect the `commandChannel.send` method or the `command-channel-message` event?

It did not happen in version 2.1.0.

Thank you for your support!

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [July 17, 2025, 1:19pm UTC](https://devforum.zoom.us/t/host-role-not-transferred-to-manager-when-host-leaves-meeting/135341/11 "2025-07-17T13:19:30Z")

</div>

Hi @lmtruong1512

For the command channel, we haven’t made any functional changes, and based on our testing, message sending and receiving over the command channel works properly across all versions.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![lmtruong1512](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lmtruong1512/32/59233_2.png) [@lmtruong1512](https://devforum.zoom.us/u/lmtruong1512)\
**Post date:** [July 21, 2025, 3:27am UTC](https://devforum.zoom.us/t/host-role-not-transferred-to-manager-when-host-leaves-meeting/135341/12 "2025-07-21T03:27:35Z")

</div>

Hi @vic.yang,  
If User A sends a message to User B using `commandChannel.send` at a time when User B has just joined the session and hasn’t yet transitioned to the `Connected` status (i.e., hasn’t received the `command-channel-status` event), does that mean User B won’t receive the message?

Thank you for your support!

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [July 21, 2025, 4:44am UTC](https://devforum.zoom.us/t/host-role-not-transferred-to-manager-when-host-leaves-meeting/135341/13 "2025-07-21T04:44:52Z")

</div>

Hi @lmtruong1512

Yes, that’s correct.

The command channel is not a persistent message queue and does not store undelivered messages. We plan to improve this behavior in future versions.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![expertswho](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/expertswho/32/60945_2.png) [@expertswho](https://devforum.zoom.us/u/expertswho)\
**Post date:** [July 22, 2025, 1:16pm UTC](https://devforum.zoom.us/t/host-role-not-transferred-to-manager-when-host-leaves-meeting/135341/14 "2025-07-22T13:16:21Z")

</div>

@lmtruong1512

I have not checked all the calls, I am assuming you have those at your command.

My immediate response is.  
I would not trust Zoom to make the decision.  
I would transfer the host or cohost before leaving.  
I would also “wait and confirm the call is completed before leaving”

In theory, they would be promoted if they were the alt host, on the same account, or the other user was the first co-host, but I myself and all my producers would never leave this to ‘chance’.  
I have never seen documentation to show the logic rules, and I would not trust it being changed.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [July 22, 2026, 1:16pm UTC](https://devforum.zoom.us/t/host-role-not-transferred-to-manager-when-host-leaves-meeting/135341/15 "2026-07-22T13:16:29Z")

</div>

Closed on July 22, 2026, 1:16pm UTC

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