# Macos SDK, meetinglocked

**URL:** <https://devforum.zoom.us/t/macos-sdk-meetinglocked/4680>\
**Category:** macOS\
**Created:** [June 19, 2019, 5:11am UTC](https://devforum.zoom.us/t/macos-sdk-meetinglocked/4680 "2019-06-19T05:11:37Z")\
**Posts on this page:** 7\
**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:** [June 19, 2019, 5:11am UTC](https://devforum.zoom.us/t/macos-sdk-meetinglocked/4680/1 "2019-06-19T05:11:37Z")

</div>

Hi,Zoom:  
I have some issues:  
1.  
In a meeting,how a participant know it when the host locked the meeting.  
thanks!  
2.  
In MacOS SDK,how a host “setMuteAudioWhenJoinMeeting” just like in MobileRTC.framework.

I use

> [[[[ZoomSDK sharedSDK] getSettingService] getAudioSetting] enableMuteMicJoinVoip:YES];

but it doesn`t work

1. 

how a host spotlight others video,just like in MobileRTC.framework

> - (BOOL)spotlightVideo:(BOOL)on withUser:(NSUInteger)userId;

---

<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:** [June 19, 2019, 10:22am UTC](https://devforum.zoom.us/t/macos-sdk-meetinglocked/4680/2 "2019-06-19T10:22:39Z")

</div>

1. One participant already in the meeting will not be notified when the host locked meeting, only the one who is join the meeting, will receive the callback delegate “- (void)onMeetingStatusChange:(ZoomSDKMeetingStatus)state meetingError:(ZoomSDKMeetingError)error EndReason:(EndMeetingReason)reason” with param error is ‘ZoomSDKMeetingError\_MeetingLocked’.

2.’- (ZoomSDKError)enableMuteMicJoinVoip:(BOOL)enable’ is the right api, you need call this before start/join meeting, also this is only can work when you are using computer audio. What do you mean it’s doesn’t work?

3.’- (ZoomSDKError)actionMeetingWithCmd:(ActionMeetingCmd)cmd userID:(unsigned int)userID onScreen:(ScreenType)screen’ with param cmd is ‘ActionMeetingCmd\_SpotlightVideo’.

---

<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:** [June 21, 2019, 9:06am UTC](https://devforum.zoom.us/t/macos-sdk-meetinglocked/4680/3 "2019-06-21T09:06:24Z")

</div>

thanks for your apply

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [July 16, 2019, 9:23pm UTC](https://devforum.zoom.us/t/macos-sdk-meetinglocked/4680/4 "2019-07-16T21:23:44Z")

</div>

Thanks for your reply Derain.

---

<div class="post-metadata">

**Author:** ![dom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dom/32/4892_2.png) [@dom](https://devforum.zoom.us/u/dom)\
**Post date:** [May 11, 2020, 1:40pm UTC](https://devforum.zoom.us/t/macos-sdk-meetinglocked/4680/5 "2020-05-11T13:40:22Z")

</div>

I can’t see

> “(ZoomSDKError)actionMeetingWithCmd:(ActionMeetingCmd)cmd userID:(unsigned int)userID onScreen:(ScreenType)screen’ with param cmd is ‘ActionMeetingCmd\_SpotlightVideo’.”

referenced anywhere in the MacOSX SDK: - can you help me find where the documentation to enable spotlighting from an app is in the Mac SDK?

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 15, 2020, 7:54am UTC](https://devforum.zoom.us/t/macos-sdk-meetinglocked/4680/6 "2020-05-15T07:54:02Z")

</div>

Hi dom,

Thanks for using Zoom SDK. The interface `actionMeetingWithCmd` allows you to perform different actions in the meeting([https://zoom.github.io/zoom-sdk-macos/interface\_zoom\_s\_d\_k\_meeting\_action\_controller.html#a09a66161984a8988c03c2654e16ea97c](https://zoom.github.io/zoom-sdk-macos/interface_zoom_s_d_k_meeting_action_controller.html#a09a66161984a8988c03c2654e16ea97c)), and you may find the available command here: [https://zoom.github.io/zoom-sdk-macos/\_zoom\_s\_d\_k\_errors\_8h\_source.html](https://zoom.github.io/zoom-sdk-macos/_zoom_s_d_k_errors_8h_source.html)

Hope this helps. Thanks!

---

<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, 9:19pm UTC](https://devforum.zoom.us/t/macos-sdk-meetinglocked/4680/7 "2020-08-21T21:19:35Z")

</div>

Closed on August 21, 2020, 9:19pm UTC


