Can the guest disconnect the host’s audio?
Is it possible to reconnect after disconnecting?
iOS SDK v5.2.41735.0928
I’m writing an iOS app for guests using Zoom’s custom UI.
The app I’m writing uses UIPageViewController to switch between Zoom and WebView pages.
I want to realize the following functions
- Guests attend Zoom meetings
- Guests watch Video in WebView
- The guest does not hear the host’s audio when the WebView page is open.
- The host also receives the guest’s voice and appearance while the guest is watching the video.
** What you want to achieve
I want to disconnect the Zoom audio and connect it to the WebView Video audio by guest operation.
Also, I want to disconnect the audio of WebView and connect to the audio of Zoom by the operation of the guest.
** Current problem
While watching a video in WebView, I can’t hear the video and I can hear the Zoom.
** What I tried
Looking at the past logs, I added the following code.
[[AVAudioSession sharedInstance] setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionMixWithOthers error:nil];