# Microphone keeps turning on and off iOS

**URL:** <https://devforum.zoom.us/t/microphone-keeps-turning-on-and-off-ios/104625>\
**Category:** Twilio Migration\
**Tags:** ios\
**Created:** [February 27, 2024, 3:26pm UTC](https://devforum.zoom.us/t/microphone-keeps-turning-on-and-off-ios/104625 "2024-02-27T15:26:55Z")\
**Posts on this page:** 14\
**Page:** 2

<div class="post-metadata">

**Author:** ![ray.elward](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ray.elward/32/51459_2.png) [@ray.elward](https://devforum.zoom.us/u/ray.elward)\
**Post date:** [April 29, 2024, 11:39pm UTC](https://devforum.zoom.us/t/microphone-keeps-turning-on-and-off-ios/104625/21 "2024-04-29T23:39:16Z")

</div>

Thank you for the information @elaine.ku . I’ll be refreshing [[@zoom/react-native-videosdk - npm](https://www.npmjs.com/package/@zoom/react-native-videosdk)] all day Friday.

This bug being introduced in 1.7.x has put us in quite a pickle because we haven’t been able to release an update to our app of the library above 1.6.x, but you guys are going to stop supporting 1.6.x on Saturday. So we have a single day to load it in and test and push the update for apple to approve. It’ll be quite a day 🙂

---

<div class="post-metadata">

**Author:** ![ray.elward](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ray.elward/32/51459_2.png) [@ray.elward](https://devforum.zoom.us/u/ray.elward)\
**Post date:** [April 30, 2024, 4:22pm UTC](https://devforum.zoom.us/t/microphone-keeps-turning-on-and-off-ios/104625/22 "2024-04-30T16:22:51Z")

</div>

Looks like if disable ENABLE\_CALLKIT\_VOIP\_MEETING from MobileRTCCallKitManager.h

```auto
#define ENABLE_CALLKIT_VOIP_MEETING 1

```

to

```auto
#define ENABLE_CALLKIT_VOIP_MEETING 0

```

I am able to take control of this again.

Can I make a feature request for the RN Zoom Video SDK to make this an option when initializing the provider with ZoomVideoSdkProvider? so Its back under the developers control. This is especially important since we’re using other libraries / systems to handle all the native CallKit / ConnectionService (android) functionality.

But this might let us actually get a few days of testing to release before you remove 1.6.x!!!

---

<div class="post-metadata">

**Author:** ![elaine.ku](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elaine.ku/32/40026_2.png) [@elaine.ku](https://devforum.zoom.us/u/elaine.ku)\
**Post date:** [May 6, 2024, 7:43pm UTC](https://devforum.zoom.us/t/microphone-keeps-turning-on-and-off-ios/104625/23 "2024-05-06T19:43:31Z")

</div>

Hi @ray.elward,

I’ve added an `enableCallKit` param in the `InitConfig`. If you would like to disable the CallKit, please set it as `false`. This param will be available in our latest release 1.11.0 which will be released this week.  
Thank you

Elaine

---

<div class="post-metadata">

**Author:** ![ray.elward](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ray.elward/32/51459_2.png) [@ray.elward](https://devforum.zoom.us/u/ray.elward)\
**Post date:** [May 6, 2024, 8:20pm UTC](https://devforum.zoom.us/t/microphone-keeps-turning-on-and-off-ios/104625/24 "2024-05-06T20:20:02Z")

</div>

Amazing.  
🙌  
Thank you!

---

<div class="post-metadata">

**Author:** ![ray.elward](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ray.elward/32/51459_2.png) [@ray.elward](https://devforum.zoom.us/u/ray.elward)\
**Post date:** [May 10, 2024, 5:53pm UTC](https://devforum.zoom.us/t/microphone-keeps-turning-on-and-off-ios/104625/25 "2024-05-10T17:53:47Z")

</div>

Hello I see its published on the marketplace. I’m wondering when it’ll be pushed to npm? based on the history it looks like you guys tend to publish to npm that repo sometime between the same day (1.10.10) and a couple months (1.7.5).

What do you think the lag time on publishing this one will be?

---

<div class="post-metadata">

**Author:** ![elaine.ku](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elaine.ku/32/40026_2.png) [@elaine.ku](https://devforum.zoom.us/u/elaine.ku)\
**Post date:** [May 10, 2024, 8:30pm UTC](https://devforum.zoom.us/t/microphone-keeps-turning-on-and-off-ios/104625/26 "2024-05-10T20:30:04Z")

</div>

Hi @ray.elward ,

The version 1.11.0 is now on npm. Thank you

Elaine

---

<div class="post-metadata">

**Author:** ![riana.soumi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/riana.soumi/32/59584_2.png) [@riana.soumi](https://devforum.zoom.us/u/riana.soumi)\
**Post date:** [October 22, 2024, 7:57am UTC](https://devforum.zoom.us/t/microphone-keeps-turning-on-and-off-ios/104625/27 "2024-10-22T07:57:46Z")

</div>

Sorry, I am currently experiencing the same problem. Can you elaborate on what `InitConfig` is? Is it the same as `ZoomVideoSDKInitParams`? I am trying to find how to access `enableCallKit` but am not sure where exactly to look for it.

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![elaine.ku](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elaine.ku/32/40026_2.png) [@elaine.ku](https://devforum.zoom.us/u/elaine.ku)\
**Post date:** [October 23, 2024, 6:13pm UTC](https://devforum.zoom.us/t/microphone-keeps-turning-on-and-off-ios/104625/28 "2024-10-23T18:13:40Z")

</div>

Hi @riana.soumi ,

Are you using any of our wrappers or the native iOS Video SDK?

Elaine

---

<div class="post-metadata">

**Author:** ![riana.soumi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/riana.soumi/32/59584_2.png) [@riana.soumi](https://devforum.zoom.us/u/riana.soumi)\
**Post date:** [October 28, 2024, 12:14am UTC](https://devforum.zoom.us/t/microphone-keeps-turning-on-and-off-ios/104625/29 "2024-10-28T00:14:42Z")

</div>

Hello @elaine.ku ,

I am using just ZoomVideoSDK for iOS, no wrappers as far as I know.

---

<div class="post-metadata">

**Author:** ![elaine.ku](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elaine.ku/32/40026_2.png) [@elaine.ku](https://devforum.zoom.us/u/elaine.ku)\
**Post date:** [November 1, 2024, 10:02pm UTC](https://devforum.zoom.us/t/microphone-keeps-turning-on-and-off-ios/104625/30 "2024-11-01T22:02:31Z")

</div>

Hi @riana.soumi ,

If you’re testing on our VSDK iOS sample App, you’ll find there’s `#define ENABLE_CALLKIT_VOIP_MEETING 0` in our `SDKCallKitManager.h`. You can set it to 0 or 1 to decide whether you would like to enable the CallKit.  
Thank you

Elaine

---

<div class="post-metadata">

**Author:** ![riana.soumi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/riana.soumi/32/59584_2.png) [@riana.soumi](https://devforum.zoom.us/u/riana.soumi)\
**Post date:** [November 7, 2024, 12:59am UTC](https://devforum.zoom.us/t/microphone-keeps-turning-on-and-off-ios/104625/31 "2024-11-07T00:59:46Z")

</div>

I am actually not testing your sample App, I am trying to migrate from Twilio to using ZoomVideoSDK to support calls in our product app. Is there any way to set this value in the scenario I just explained?

---

<div class="post-metadata">

**Author:** ![riana.soumi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/riana.soumi/32/59584_2.png) [@riana.soumi](https://devforum.zoom.us/u/riana.soumi)\
**Post date:** [November 12, 2024, 2:59am UTC](https://devforum.zoom.us/t/microphone-keeps-turning-on-and-off-ios/104625/32 "2024-11-12T02:59:05Z")

</div>

Okay, I finally get it - it seems like this setting is only possible inside of your wrappers for reactNative etc, is that correct?

Would it be possible to add ENABLE\_CALLKIT\_VOIP\_MEETING for native ZoomVSDK for iOS too? We really want to be able to control CallKit on our side - currently both ZoomVSDK and us try to control it and it causes conflicts.

---

<div class="post-metadata">

**Author:** ![elaine.ku](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elaine.ku/32/40026_2.png) [@elaine.ku](https://devforum.zoom.us/u/elaine.ku)\
**Post date:** [November 18, 2024, 6:55pm UTC](https://devforum.zoom.us/t/microphone-keeps-turning-on-and-off-ios/104625/33 "2024-11-18T18:55:22Z")

</div>

Hi @riana.soumi,

The CallKit isn’t part of our SDK, it is an implementation in our native sample App. If you do not need the CallKit in the application, you do not need to implement it.

Thank you.

Elaine

---

<div class="post-metadata">

**Author:** ![riana.soumi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/riana.soumi/32/59584_2.png) [@riana.soumi](https://devforum.zoom.us/u/riana.soumi)\
**Post date:** [November 19, 2024, 5:13am UTC](https://devforum.zoom.us/t/microphone-keeps-turning-on-and-off-ios/104625/34 "2024-11-19T05:13:54Z")

</div>

@elaine.ku

I understand that CallKit is not part of your SDK, but I’m encountering an issue similar to the one described by the original poster. It appears that the ZoomVSDK is triggering CallKit to call `provider(_ provider: CXProvider, perform action: CXSetMutedCallAction)`, with `action.isMuted` set to `true`. This results in an inconsistency on our end. Additionally, `action.isMuted` seems to be set to `true` when the device is running iOS 17 or later.  
So, we are looking for a way to prevent this `CXSetMutedCallAction` from being triggered, if possible.

I hope my explanation is clear, but please let me know if you need any further details.

[Previous page](https://devforum.zoom.us/t/microphone-keeps-turning-on-and-off-ios/104625.md?page=1)
