# Ability to mute all attendees except Host or Co-Host

**URL:** <https://devforum.zoom.us/t/ability-to-mute-all-attendees-except-host-or-co-host/26043>\
**Category:** Android\
**Created:** [August 3, 2020, 7:54am UTC](https://devforum.zoom.us/t/ability-to-mute-all-attendees-except-host-or-co-host/26043 "2020-08-03T07:54:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![phong.nguyen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phong.nguyen/32/2437_2.png) [@phong.nguyen](https://devforum.zoom.us/u/phong.nguyen)\
**Post date:** [August 3, 2020, 7:54am UTC](https://devforum.zoom.us/t/ability-to-mute-all-attendees-except-host-or-co-host/26043/1 "2020-08-03T07:54:23Z")

</div>

**Description**  
Is it possible to mute all attendees except host/co-host programmatically via the Android SDK?

I’m using this interface to mute all users, but it also mutes host/co-host

> ZoomSDK.getInstance().inMeetingService.inMeetingAudioController.muteAllAttendeeAudio(true)

**Which version?**  
v5.0.24433.0616

---

<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, 5:33am UTC](https://devforum.zoom.us/t/ability-to-mute-all-attendees-except-host-or-co-host/26043/2 "2020-08-04T05:33:08Z")

</div>

Hi @phong.nguyen,

Thanks for the post. Since in the Zoom client, there is no way to mute all except host or co-host, so the SDK does not have an interface for this. An alternative option would be: Get a list of the user, if the user is not the host or co-host, call the `muteAttendeeAudio`([https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingAudioController.html#muteAttendeeAudio-boolean-long-](https://zoom.github.io/zoom-sdk-android/us/zoom/sdk/InMeetingAudioController.html#muteAttendeeAudio-boolean-long-)) to mute the attendee.

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![phong.nguyen](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/phong.nguyen/32/2437_2.png) [@phong.nguyen](https://devforum.zoom.us/u/phong.nguyen)\
**Post date:** [August 4, 2020, 5:49am UTC](https://devforum.zoom.us/t/ability-to-mute-all-attendees-except-host-or-co-host/26043/3 "2020-08-04T05:49:40Z")

</div>

Hi @carson.zoom, thanks for your confirmation.

---

<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 5, 2020, 6:25am UTC](https://devforum.zoom.us/t/ability-to-mute-all-attendees-except-host-or-co-host/26043/4 "2020-08-05T06:25:55Z")

</div>

Glad to be helpful. I will go ahead and close this thread. Please feel free to create another post if any other questions. 🙂

---

<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 5, 2020, 6:25am UTC](https://devforum.zoom.us/t/ability-to-mute-all-attendees-except-host-or-co-host/26043/5 "2020-08-05T06:25:58Z")

</div>

Closed on August 5, 2020, 6:25am UTC


