Participants Cannot Unmute Video Once Muted

Description
I am using the custom ui feature in the Zoom SDK but am having trouble with turning the camera on and off for participants. Below is a code snippet:

guard let `self` = self,
    let meetingService = MobileRTC.shared().getMeetingService(),
    meetingService.canUnmuteMyVideo() else
{
    return
}
            
let isSendingVideo = meetingService.isSendingMyVideo()
print("Is muted: \(isSendingVideo)")
            
let error = meetingService.muteMyVideo(!isSendingVideo)
print(error.rawValue)

When I first join a meeting, the camera is already on, then when I run this code I am able to mute my video. However, if I run this code snippet again, isSendingMyVideo is false yet my camera never turns back on. The error value is 0.

Why am I unable to turn the camera back on?

The same problem happens when trying to toggle the microphone on and off except isMyAudioMuted() is never true even after calling muteMyAudio(true)

Which iOS Client SDK version?
v5.5.12511.0421

Smartphone (please complete the following information):

  • Device: iPhone XR
  • OS: iOS 14.5.1

Hi @dbianchi, thanks for the post.

Sorry to hear you are experiencing issues with trying to unmute audio and video. Can you please let me know what the return value of canUnmuteMyVideo is in this scenario?

Thanks!

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