# Mac SDK,spotlightvideo and ActionMeetingCmd\_MuteAll

**URL:** <https://devforum.zoom.us/t/mac-sdk-spotlightvideo-and-actionmeetingcmd-muteall/4838>\
**Category:** macOS\
**Created:** [July 2, 2019, 2:19am UTC](https://devforum.zoom.us/t/mac-sdk-spotlightvideo-and-actionmeetingcmd-muteall/4838 "2019-07-02T02:19:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wangyx](https://avatars.discourse-cdn.com/v4/letter/w/3ab097/32.png) [@wangyx](https://devforum.zoom.us/u/wangyx)\
**Post date:** [July 2, 2019, 2:19am UTC](https://devforum.zoom.us/t/mac-sdk-spotlightvideo-and-actionmeetingcmd-muteall/4838/1 "2019-07-02T02:19:34Z")

</div>

Hi zoom:  
there are some quetions:  
1、when i use actionMeetingWithCmd: ActionMeetingCmd\_MuteAll userID:(unsigned int)userID onScreen:(ScreenType)screen  
what the userID i should pass  
2、when i join a meeting,how should i know if there is a SpotlightVideo?

---

<div class="post-metadata">

**Author:** ![Derain\_Yuan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/derain_yuan/32/558_2.png) [@Derain\_Yuan](https://devforum.zoom.us/u/Derain_Yuan)\
**Post date:** [July 4, 2019, 2:49am UTC](https://devforum.zoom.us/t/mac-sdk-spotlightvideo-and-actionmeetingcmd-muteall/4838/2 "2019-07-04T02:49:50Z")

</div>

1. ActionMeetingCmd\_MuteAll is only available for host/cohost, the userID you can send is 0.
2. User will be notified from callback delegate ‘- (void)onSpotlightVideoUserChange:(BOOL)spotlight User:(unsigned int)userID’ in ZoomSDKMeetingActionController.h

---

<div class="post-metadata">

**Author:** ![wangyx](https://avatars.discourse-cdn.com/v4/letter/w/3ab097/32.png) [@wangyx](https://devforum.zoom.us/u/wangyx)\
**Post date:** [July 13, 2019, 6:38am UTC](https://devforum.zoom.us/t/mac-sdk-spotlightvideo-and-actionmeetingcmd-muteall/4838/3 "2019-07-13T06:38:22Z")

</div>

for question 1:  
this command sometimes only mute one user,not all

---

<div class="post-metadata">

**Author:** ![Derain\_Yuan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/derain_yuan/32/558_2.png) [@Derain\_Yuan](https://devforum.zoom.us/u/Derain_Yuan)\
**Post date:** [July 15, 2019, 1:56am UTC](https://devforum.zoom.us/t/mac-sdk-spotlightvideo-and-actionmeetingcmd-muteall/4838/4 "2019-07-15T01:56:20Z")

</div>

We cannot reproduce this in our demo, which SDK version are you using, please provide us the log for this issue.

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:31pm UTC](https://devforum.zoom.us/t/mac-sdk-spotlightvideo-and-actionmeetingcmd-muteall/4838/5 "2020-08-21T18:31:47Z")

</div>

Closed on August 21, 2020, 6:31pm UTC


