# Audio Options False in React-Native & iOS SDKs Still Trigger Callbacks

**URL:** <https://devforum.zoom.us/t/audio-options-false-in-react-native-ios-sdks-still-trigger-callbacks/83050>\
**Category:** React Native\
**Created:** [February 13, 2023, 5:57pm UTC](https://devforum.zoom.us/t/audio-options-false-in-react-native-ios-sdks-still-trigger-callbacks/83050 "2023-02-13T17:57:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joncyrus](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/joncyrus/32/45438_2.png) [@joncyrus](https://devforum.zoom.us/u/joncyrus)\
**Post date:** [February 13, 2023, 5:57pm UTC](https://devforum.zoom.us/t/audio-options-false-in-react-native-ios-sdks-still-trigger-callbacks/83050/1 "2023-02-13T17:57:58Z")

</div>

**Description**  
When instantiating a Zoom session via ReactNative SKD or iOS SDK with Audio Options setting connect to “false” and mute to “true,” the SDK continues to trigger callbacks for useOnUserAudioStatusChanged. We are using the ReactNative SDK, but the issue is reproducible in both.

```auto
zoom.joinSession({
...
  audioOptions: {
    connect: false,
    mute: true,
  },
});

```

Our app uses a separate audio out (Twilio) to generate calls to a landline for users in a call-center-like paradigm. However, because the callbacks trigger a status change, it disrupts the audio interface we are using disrupting the entire flow by wresting control of the audio feed back to Zoom inappropriately.

**Errors**  
No error message triggered - the bug rests in the triggering of useOnUserAudioStatusChanged when the audio option is disabled.

**Which React Native Video SDK version?**  
1.4.0 @zoom1234/react-native-videosdk

**Video SDK Code Snippets**

```auto
zoom.joinSession({
...
  audioOptions: {
    connect: false,
    mute: true,
  },
});

```

**To Reproduce(If applicable)**  
Using the ReactNative or iOS SDK, initiate/join a Zoom session with Audio connect == False, mute == True: zoom.joinSession({ … audioOptions: { connect: false, mute: true, }, });  
Watch for the trigger of useOnUserAudioStatusChanged to occur, which will cut audio to any alternative audio API.

**Screenshots**  
NA

**Troubleshooting Routes**  
[https://support.zoom.us/hc/en-us/requests/16457709](https://support.zoom.us/hc/en-us/requests/16457709)

**Smartphone (please complete the following information):**  
iOS 15.7 on iPad Pro 11"

**Additional context**

---

<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:** [March 15, 2023, 5:58pm UTC](https://devforum.zoom.us/t/audio-options-false-in-react-native-ios-sdks-still-trigger-callbacks/83050/2 "2023-03-15T17:58:06Z")

</div>

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