# Zoom commands do not send for the first user who joins the session

**URL:** <https://devforum.zoom.us/t/zoom-commands-do-not-send-for-the-first-user-who-joins-the-session/75808>\
**Category:** iOS\
**Created:** [September 12, 2022, 9:37pm UTC](https://devforum.zoom.us/t/zoom-commands-do-not-send-for-the-first-user-who-joins-the-session/75808 "2022-09-12T21:37:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![curtis.forsta](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/curtis.forsta/32/33092_2.png) [@curtis.forsta](https://devforum.zoom.us/u/curtis.forsta)\
**Post date:** [September 12, 2022, 9:37pm UTC](https://devforum.zoom.us/t/zoom-commands-do-not-send-for-the-first-user-who-joins-the-session/75808/1 "2022-09-12T21:37:27Z")

</div>

When two users join a Zoom session using the sample SDK demo project, the command channel does not work for the first user who joins. The second user who join can use the command channel.

**Which iOS Video SDK version?**  
Video SDK v1.4 for iOS

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Have two devices - Device 1 and Device 2
2. Launch the provided SDK demo app on both devices
3. Join session with Device 1
4. Join session with Device 2
5. On Device 1, use the “raise hand” command
6. Notice that Device 1 shows the “raise hand” emoji but Device 2 does not
7. On Device 2, use the “raise hand” command
8. Notice that Device 2 and Device 1 shows the “raise hand” emoji properly

**Screenshots**  
[Imgur: The magic of the Internet](https://imgur.com/a/fXdxiwe) - Video link  
This video shows the sequence of actions as stated above. Device 1 is on the left and Device 2 is on the right.

**Smartphone (please complete the following information):**  
Device 1 - iPhoneSE 2nd Gen iOS15.4.1  
Device 2 - iPhone6S iOS14.7.1  
Xcode 13.4.1

**Additional context**  
For both devices, the “onCmdChannelConnectResult” returns true for the success boolean before attempting to send any commands.

For both devices, when the command is sent using “ZoomVideoSDKError error = [[[ZoomVideoSDK shareInstance] getCmdChannel] sendCommand:cmdString receiveUser:nil];”, the result comes back as “Errors\_Success” meaning the message sent should have been successful, but the other device never receives it.

If I join with Device 2 first and then join with Device 1, I get the same problem but reversed. Device 2 is unable to send commands while Device 1 is now able to send commands.

We are successfully generating the JWT token with these parameters and the security parameters as required by your documentation: app\_key, tpc, version, role\_type, user\_identity

This same behaviour also occurred for me on Video SDK v.1.3.1

---

<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:** [October 13, 2022, 7:37am UTC](https://devforum.zoom.us/t/zoom-commands-do-not-send-for-the-first-user-who-joins-the-session/75808/2 "2022-10-13T07:37:40Z")

</div>

Closed on October 13, 2022, 7:37am UTC

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