# MuteAttendeeAudio() does not work

**URL:** <https://devforum.zoom.us/t/muteattendeeaudio-does-not-work/51645>\
**Category:** Android\
**Created:** [June 2, 2021, 3:28pm UTC](https://devforum.zoom.us/t/muteattendeeaudio-does-not-work/51645 "2021-06-02T15:28:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rares.vultur](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rares.vultur/32/24714_2.png) [@rares.vultur](https://devforum.zoom.us/u/rares.vultur)\
**Post date:** [June 2, 2021, 3:28pm UTC](https://devforum.zoom.us/t/muteattendeeaudio-does-not-work/51645/1 "2021-06-02T15:28:58Z")

</div>

**Description**  
I am trying to implement a mute/unmute functionality where a host can mute/unmute specific users. By doing this, I am calling

```auto
mZoomSDK.inMeetingService.inMeetingAudioController.muteAttendeeAudio(shouldMute, zoomId)

```

If shouldMute is false, the users get unmuted and it works well. However, when the value is true, nothing happens. Am I doing something wrong?

**Which Android Client SDK version?**  
v5.5.1.1319

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [June 2, 2021, 5:34pm UTC](https://devforum.zoom.us/t/muteattendeeaudio-does-not-work/51645/2 "2021-06-02T17:34:41Z")

</div>

Hi @rares.vultur, thanks for the post.

It doesn’t seem like there is anything wrong with how you are calling into the `muteAttendeeAudio` method. What is the return value you are seeing? How frequently are you calling this method?

Thanks!

---

<div class="post-metadata">

**Author:** ![rares.vultur](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rares.vultur/32/24714_2.png) [@rares.vultur](https://devforum.zoom.us/u/rares.vultur)\
**Post date:** [June 3, 2021, 7:32am UTC](https://devforum.zoom.us/t/muteattendeeaudio-does-not-work/51645/3 "2021-06-03T07:32:46Z")

</div>

@jon.zoom I am not getting any return value. I went on to debug within the framework and the flow goes to `public final MobileRTCSDKError muteAttendeeAudio(boolean var1, long var2)` methon inside `j.class`.

I’m guessing that `public final MobileRTCSDKError muteAttendeeAudio(boolean var1, long var2)` returns false because it doesn’t reach `return MobileRTCSDKError.SDKERR_SUCCESS;` so I’m guessing there’s an internal error. I wasn’t able to debug deeper to see exactly where the error occurs.

I’m not calling this method frequently. But it never works when I do. It works only when the value is ‘false’ and it succesfully unmutes the user. However, when it is ‘true’, it doesn’t mute them.

---

<div class="post-metadata">

**Author:** ![rares.vultur](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rares.vultur/32/24714_2.png) [@rares.vultur](https://devforum.zoom.us/u/rares.vultur)\
**Post date:** [June 3, 2021, 7:36am UTC](https://devforum.zoom.us/t/muteattendeeaudio-does-not-work/51645/4 "2021-06-03T07:36:25Z")

</div>

Actually, after further investigation, it returns `MobileRTCSDKError.SDKERR_OTHER_ERROR;` every time

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [June 3, 2021, 5:04pm UTC](https://devforum.zoom.us/t/muteattendeeaudio-does-not-work/51645/5 "2021-06-03T17:04:18Z")

</div>

Hi @rares.vultur,

Thanks for confirming. Since the return value doesn’t give us any additional information and we have not been able to reproduce this locally, we will need the SDK logs to investigate further. Can you please send over the logs through our new [developer support portal](https://zoomdevelopersupport.zendesk.com/hc/en-us)? The logs should be under `sdcard/Android/data/$youAppPackage/logs/` and will be an encrypted file.

Thanks!

---

<div class="post-metadata">

**Author:** ![rares.vultur](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rares.vultur/32/24714_2.png) [@rares.vultur](https://devforum.zoom.us/u/rares.vultur)\
**Post date:** [June 9, 2021, 10:43am UTC](https://devforum.zoom.us/t/muteattendeeaudio-does-not-work/51645/6 "2021-06-09T10:43:38Z")

</div>

@jon.zoom when i go to that hyper link i get sent to a basic home page. can you please help by step by step on how to upload the logs after clicking your hyperlink?

Thanks!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [June 9, 2021, 5:57pm UTC](https://devforum.zoom.us/t/muteattendeeaudio-does-not-work/51645/7 "2021-06-09T17:57:18Z")

</div>

Hi @rares.vultur,

In order to access that page and create a ticket, you will need to be signed into a Zoom account with access to developer support. If you are being redirected, it may be worth trying to open that in a private window in your browser.

Thanks!

---

<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:** [July 10, 2021, 3:57am UTC](https://devforum.zoom.us/t/muteattendeeaudio-does-not-work/51645/8 "2021-07-10T03:57:32Z")

</div>

Closed on July 10, 2021, 3:57am UTC

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