Closed gurupatel closed 4 years ago
@gurupatel I am assuming you are not using CallKit in your app. Have you tried using DefaultAudioDevice.enabled property? It stops and starts audio unit on demand. Try using it and let me know how it goes.
@piyushtank Working perfect, thanks for fast & proper reply. You can close this issue.
I want to stop/unstop Twilio audio same as zoom app does. We are asking our user to enable/disable internet audio permission same as zoom, so for that we need to stop whole audio session if it is not enable & unstop if it is enable by our users.
So if audio session (Internet audio) is not enable by user, then user should not able to hear any audio from any participant connected in room & also audio should not go from device to other participant.
Please find the attached screen shot for more clarity.