# Turn off incoming audio but keep outgoing audio open

**URL:** <https://devforum.zoom.us/t/turn-off-incoming-audio-but-keep-outgoing-audio-open/129445>\
**Category:** Web\
**Created:** [March 8, 2025, 4:36am UTC](https://devforum.zoom.us/t/turn-off-incoming-audio-but-keep-outgoing-audio-open/129445 "2025-03-08T04:36:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sohan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sohan/32/67786_2.png) [@Sohan](https://devforum.zoom.us/u/Sohan)\
**Post date:** [March 8, 2025, 4:36am UTC](https://devforum.zoom.us/t/turn-off-incoming-audio-but-keep-outgoing-audio-open/129445/1 "2025-03-08T04:36:07Z")

</div>

**Description**  
When two users land on the same page in my react application, I start an audio call between them. They could be connected on a call through any other app (E.g: Discord, teams, gmeet etc)  
My use case is to use live transcription to transcribe whatever they speak when they are on this page. However, I do not want them to hear each other via the zoom SDK. Essentially I want their outgoing audio to be transmitted but do not want each other to hear it on the other side. I am aware of the `muteAllUserAudioLocally()` method but until the other person accepts the browser permission for the mic access, they can still hear each other. Is there a way to call `muteAllUserAudioLocally()` right when the user joins the session using `join()` instead of calling it after `.startAudio()`?

This is my current implementation.

```ts
 init: () => Promise<void> = async () => {
    this.zoomClient = ZoomVideo.createClient();
    await this.zoomClient.init('en-US', 'CDN');

    const signature = await this.fetchSDKSignature();
    await this.zoomClient.join(this.slug, signature, this.zoomScreenName);

    this.mediaStream = this.zoomClient.getMediaStream();

    if (this.zoomClient.isHost()) {
      this.transcriptionClient = this.zoomClient.getLiveTranscriptionClient();
    }

    this.bindEventListeners();
    await this.mediaStream.startAudio();
    await this.mediaStream.muteAllUserAudioLocally();

    if (this.transcriptionClient) {
      await this.transcriptionClient.startLiveTranscription();
    }

    this.hasSessionStarted = true;
  };

```

I have tried the following but none of them worked.

- Removing await on `.startAudio()`
- Calling `.muteAllUserAudioLocally()` before `.startAudio()`
- Calling .muteAllUserAudioLocally()`after`.join()`

**Which Web Video SDK version?**  
1.12.12

- Device: Macbook Pro
- OS: macOS 15.3.1 (24D70)
- Browser: Chrome
- Browser Version: 133.0.6943.143 (Official Build) (arm64)

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [March 14, 2025, 8:39am UTC](https://devforum.zoom.us/t/turn-off-incoming-audio-but-keep-outgoing-audio-open/129445/2 "2025-03-14T08:39:25Z")

</div>

Hey @Sohan

Thanks for your feedback.

Currently, we don’t support calling `muteAllUserAudioLocally()` before the audio is connected.

Thanks  
Vic

---

<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:** [April 13, 2025, 6:39pm UTC](https://devforum.zoom.us/t/turn-off-incoming-audio-but-keep-outgoing-audio-open/129445/3 "2025-04-13T18:39:27Z")

</div>

Closed on April 13, 2025, 6:39pm UTC

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