# Android SDK pause / resume audio

**URL:** <https://devforum.zoom.us/t/android-sdk-pause-resume-audio/49142>\
**Category:** Meeting SDK\
**Created:** [April 29, 2021, 12:47am UTC](https://devforum.zoom.us/t/android-sdk-pause-resume-audio/49142 "2021-04-29T00:47:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerger](https://avatars.discourse-cdn.com/v4/letter/g/ecd19e/32.png) [@gerger](https://devforum.zoom.us/u/gerger)\
**Post date:** [April 29, 2021, 12:47am UTC](https://devforum.zoom.us/t/android-sdk-pause-resume-audio/49142/1 "2021-04-29T00:47:15Z")

</div>

**Description**

Hi,

Is there a way to pause and resume the zoom SDK audio programmatically?

I tried the `ZoomSDK.getInstance().getInMeetingService().getInMeetingAudioController().disconnectAudio();` to disconnect the audio and `ZoomSDK.getInstance().getInMeetingService().getInMeetingAudioController().connectAudioWithVoIP();` to re-connect the audio. Though sometimes, user can still hear the audio after `disconnectAudio()` is called. So I would like to know if there is a better way to pause / resume audio?

Thank you in advance!

Best,  
Gerger

---

<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:** [April 29, 2021, 5:17pm UTC](https://devforum.zoom.us/t/android-sdk-pause-resume-audio/49142/2 "2021-04-29T17:17:52Z")

</div>

Hi @gerger, thanks for the post.

The methods you’ve posted are the correct way of disconnecting/reconnecting to the audio stream for the meeting. When you can still hear audio after calling `disconnectAudio`, can you please let me know what the return value of that method is?

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:** [May 30, 2021, 3:18am UTC](https://devforum.zoom.us/t/android-sdk-pause-resume-audio/49142/3 "2021-05-30T03:18:08Z")

</div>

Closed on May 30, 2021, 3:18am UTC

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