Microphone does not work on ios zoom, when a meeting starts

The microphone is not working in both parts of the meeting. And when you click the mute button it returns the response (.audioNotConnected).
There is no runtime error in the log.
I need help to resolve this issue


when click in mic icon
to mute and unmute this message appears.

Smartphone (please complete the following information):

  • Device: [e.g. iPhone XR]
  • OS: [e.g. iOS 14.2]
  • Version zoom Sdk 5.0.24437.0708

Additional context

This code snippet below to create the service and the meeting.

if let meetingService = MobileRTC.shared().getMeetingService() {
meetingService.customizedUImeetingDelegate = self
meetingService.delegate = self

        let params = MobileRTCMeetingJoinParam()
        params.meetingNumber = <meeting id>
        params.userName = <user name>
        params.zak = <zoom token>
        params.password = <password>

        let response = meetingService.joinMeeting(with: params)

        print("Got response from start: \(response)")
    } else {}

And the one below to unmute and mute the mic, when you click the button.

guard let meetingService = MobileRTC.shared().getMeetingService() else { return }
let newMuteState = !meetingService.isMyAudioMuted()
let response = meetingService.muteMyAudio(newMuteState)
if response == .success {
updateMicIcon(on: !newMuteState)
} else {
alert(message: “Não foi possível (newMuteState ? “des” : “”)ativar o áudio”)

Note: (.audioNotConnected) is the response of the meetingService.muteMyAudio (newMuteState) function.

Hey @lucascordeiro.pord,

Thanks for using the dev forum, and thank you for providing thorough information!

That is very strange. The audio should automatically connect when you join the meeting. Can you try commenting out the “connectMyAudio” lines of code, deleting the app, and rerunning? Make sure that the microphone permissions are agreed to, (I have made that mistake before :slight_smile:).


We commented line of code “connect My Audio”, we reinstalled the app and agreed the microphone permission and didn’t worked.

Hey @lucascordeiro.pord,

What audiotype is returned from myAudioType?

- (MobileRTCAudioType)myAudioType
    MobileRTCMeetingService *ms = [[MobileRTC sharedRTC] getMeetingService];
    if (ms) {
        MobileRTCAudioType audioType = [ms myAudioType];
        return audioType;
    return MobileRTCAudioType_None;