# Zoom Video SDK integration call kit microphone issue

**URL:** <https://devforum.zoom.us/t/zoom-video-sdk-integration-call-kit-microphone-issue/112273>\
**Category:** iOS\
**Tags:** video-sdk\
**Created:** [June 20, 2024, 7:58am UTC](https://devforum.zoom.us/t/zoom-video-sdk-integration-call-kit-microphone-issue/112273 "2024-06-20T07:58:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mukeshawal980](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mukeshawal980/32/60793_2.png) [@mukeshawal980](https://devforum.zoom.us/u/mukeshawal980)\
**Post date:** [June 20, 2024, 7:58am UTC](https://devforum.zoom.us/t/zoom-video-sdk-integration-call-kit-microphone-issue/112273/1 "2024-06-20T07:58:19Z")

</div>

**Description**  
We are trying to migrate from TwilioVideoSDK to ZoomVideoSDK for an App. But after integrating Call kit, We notice that the function

`func provider(_ provider: CXProvider, perform action: CXSetMutedCallAction)`

of CXProviderDelegate is being triggered too many times automatically when user joins a session. This function is supposed to be triggered only when we request CXSetMutedCallAction on CXCallController Or when user press mute/unmute button on call screen on lock screen while call is ongoing.

There has never been this issue on Twilio SDK. I wonder if ZoomVideoSDK is doing something with CallKit internally?

The logs i get from SDK in console are like this:  
`*** CFMessagePort: bootstrap_register(): failed 1,100 (0x44c) 'Permission denied', port = 0x2142b, name = '.1065750695.rpc' See /usr/include/servers/bootstrap_defs.h for the error codes.`  
`CreateAudioUnit use hardware aec = 1`  
`[IOS].CreateAudioUnit g_audioUinits.count = 1`  
`AudioDeviceIOS::SetMuteOutputAudioUnit unmute output`  
`AudioDeviceIOS::SetMuteOutputAudioUnit can mute = 1`  
`AudioDeviceIOS::SetMuteOutputAudioUnit can mute = 1`  
`AudioDeviceIOS::SetMuteOutputAudioUnit unmute output`

User connects to the session and again i see this logs  
`AudioDeviceIOS::SetMuteOutputAudioUnit can mute = 1`  
`AudioDeviceIOS::SetMuteOutputAudioUnit unmute output`

and now the CXProviderDelegate function for CXSetMutedCallAction starts to trigger too many times automatically with action.isMuted value to be true and false randomly

We are using ZoomVideoSDK version v1.11.10

Our test device is iPhone 14 pro and iPhone 12

**Additional context**  
Also we can’t seem to find the zoom log file on exported container of app. Is this only created if app crashes from inside ZoomVideoSDK?

our initialization steps looks like this:

let initParams = ZoomVideoSDKInitParams()  
initParams.domain = “[zoom.us](http://zoom.us)”  
initParams.enableLog = true  
initParams.logFilePrefix = “zoomLogFile”

---

<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 20, 2024, 5:58pm UTC](https://devforum.zoom.us/t/zoom-video-sdk-integration-call-kit-microphone-issue/112273/2 "2024-07-20T17:58:55Z")

</div>

Closed on July 20, 2024, 5:58pm UTC

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