twilio / cocoapod-specs

https://www.twilio.com/
10 stars 15 forks source link

Audio doesnt resume, when hold and Accept PSTN call and switching back to TwilioVoice call iOS #134

Open Kishorekumar-Elanchezhiyan opened 5 years ago

Kishorekumar-Elanchezhiyan commented 5 years ago

We are using TwilioVoice (2.0.3) with CallKit When we are in Voice call and a PSTN call comes in I hold and accept the PSTN Call didDeactivate audioSession gets called, Thats where we disable sdk audio by TwilioVoice.isAudioEnabled = false then I ends the PSTN call in local device, didActivate audioSession gets called. There we enable audio by TwilioVoice.isAudioEnabled = true

But audio doesnt comeback.

Discussing this issue with @bchen-twilio, please refer https://github.com/twilio/cocoapod-specs/issues/96. I am yet to get a resolution

bobiechen-twilio commented 5 years ago

Hi @Kishorekumar-Elanchezhiyan

Although it's still under development, but we believe that this issue is addressed in our Voice iOS SDK 3.0.0-preview1. I've tried the same steps with the 3.0 Quickstart and was able to get audio flowing after the interruption. It'd be great you can give it a shot.

There are couple of API changes so it requires some works to upgrade from 2.0 to 3.0 API. We are more than happy to help you with the migration.

Thanks again! -bobie

Kishorekumar-Elanchezhiyan commented 5 years ago

Yes @bchen-twilio it works with 3.0 SDK but as it is still under development we will not be able to ship it with our app. Our app is ready for production and we cannot ship with sdk under development.

Kishorekumar-Elanchezhiyan commented 5 years ago

@bchen-twilio When are we planning to release the TwilioVoice 3.x version. Please let me know if you have a roadmap

bobiechen-twilio commented 5 years ago

Hi @Kishorekumar-Elanchezhiyan

Thanks for trying it out, and we definitely understand the requirement of production applications. The Voice iOS 3.0 SDK is currently in preview2 and we plan to ship 2 beta releases in the coming weeks before we can claim GA quality. Based on the dev progress, we should be able to reach GA roughly between mid and end of September.

Again we really appreciate your patience and we will be working our best to ship this awesome next-gen SDK.

-bobie

Kishorekumar-Elanchezhiyan commented 5 years ago

Thanks @bchen-twilio