# Question - Listen for host on/off video command

**URL:** <https://devforum.zoom.us/t/question-listen-for-host-on-off-video-command/25704>\
**Category:** macOS\
**Created:** [July 30, 2020, 8:44am UTC](https://devforum.zoom.us/t/question-listen-for-host-on-off-video-command/25704 "2020-07-30T08:44:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![timazed](https://avatars.discourse-cdn.com/v4/letter/t/c2a13f/32.png) [@timazed](https://devforum.zoom.us/u/timazed)\
**Post date:** [July 30, 2020, 8:44am UTC](https://devforum.zoom.us/t/question-listen-for-host-on-off-video-command/25704/1 "2020-07-30T08:44:46Z")

</div>

**Description**  
Does the MacOS SDK support listening to the on and off video commands sent by the host for custom UI? It doesn’t appear to work in the sample and I can’t see it anywhere in the docs but just want to verify.

I notice it works if you start the SDK up with the default UI so the SDK under the hood supports it but not sure if its been exposed correctly to custom UIs.

**Which version?**  
ZoomSDK Version: 5.0.1 (24433.0616)

Cheers,  
Tim

---

<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:** [August 1, 2020, 1:44am UTC](https://devforum.zoom.us/t/question-listen-for-host-on-off-video-command/25704/2 "2020-08-01T01:44:29Z")

</div>

Hi Tim,

Thanks for the post. You could use the following interface to mute/unmute the video

```auto
 (ZoomSDKError)actionMeetingWithCmd:(ActionMeetingCmd)cmd userID:(unsigned int)userID onScreen:(ScreenType)screen;

```

and passing the following parameters:

- ActionMeetingCmd\_MuteVideo
- ActionMeetingCmd\_UnMuteVideo

Regarding the listener/callbacks you are looking, let me circle back to the engineering team about this and get back to you shortly.

Thanks!

---

<div class="post-metadata">

**Author:** ![timazed](https://avatars.discourse-cdn.com/v4/letter/t/c2a13f/32.png) [@timazed](https://devforum.zoom.us/u/timazed)\
**Post date:** [August 2, 2020, 9:54pm UTC](https://devforum.zoom.us/t/question-listen-for-host-on-off-video-command/25704/3 "2020-08-02T21:54:11Z")

</div>

Hi @carson.zoom,

Thanks for getting back to me. Yep I saw that and it works for controlling the default zoom client. But there is know call back firing if the zoom client or sdk client sent that command to a specific user.

Thanks for checking with the engineering team.

Cheers,  
Tim

---

<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:** [August 4, 2020, 12:36am UTC](https://devforum.zoom.us/t/question-listen-for-host-on-off-video-command/25704/4 "2020-08-04T00:36:03Z")

</div>

Hi @timazed,

Thanks for the reply. I have checked with the engineering team and currently we do not have a callback for this. We will add this in the next release.

Thanks!

---

<div class="post-metadata">

**Author:** ![timazed](https://avatars.discourse-cdn.com/v4/letter/t/c2a13f/32.png) [@timazed](https://devforum.zoom.us/u/timazed)\
**Post date:** [August 4, 2020, 12:47am UTC](https://devforum.zoom.us/t/question-listen-for-host-on-off-video-command/25704/5 "2020-08-04T00:47:19Z")

</div>

Hi @carson.zoom,

Great - Thanks for checking with the team.

Cheers,  
Tim

---

<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:** [August 8, 2020, 12:33am UTC](https://devforum.zoom.us/t/question-listen-for-host-on-off-video-command/25704/6 "2020-08-08T00:33:02Z")

</div>

Glad to be helpful. Please follow our Github repo for any updates. I’m going to close this post and if you have any other questions or inquires, please feel free to create another post.

Thanks!

---

<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:** [August 8, 2020, 12:33am UTC](https://devforum.zoom.us/t/question-listen-for-host-on-off-video-command/25704/7 "2020-08-08T00:33:04Z")

</div>

Closed on August 8, 2020, 12:33am UTC


