WebsiteBeaver / CordovaCall

Cordova CallKit & ConnectionService plugin for iOS/Android that displays the native call UI for VOIP apps
MIT License
196 stars 91 forks source link

Samsung Audio #51

Open kyle9292 opened 6 years ago

kyle9292 commented 6 years ago

Hello,

I'm having trouble with local audio not working after an incoming sip invite is answered with the call kit. I'm kind of stumped b/c its only happening on Samsung phones. The same code/plugin works great on my pixel 2 and iOS.

As far as I can tell, neither the call kit or the sip session is muting the microphone in any way.

I'm also having a similar problem to #33 but I'm not sure if it related to the audio. After accepting a call with the kit interface, my app is brought to the foreground, then after about a second the call kit is pulled back to the foreground in the connected state. No calling accounts page. While it's not ideal, I can work around this b/c android lets you resume apps in the background.

Any help is appreciated.

D-Marc1 commented 6 years ago

Sorry, we don't have a Samsung phone to test this out on currently. Maybe a user of this plugin who does have one can help you.

In the meantime, a logcat output would be helpful.

geraintwhite commented 5 years ago

This might be a useful reference for you https://github.com/wazo-pbx/react-native-callkeep/pull/8

amuzacz commented 5 years ago

You can apply above patch to CordovaCall like this: https://github.com/VoIPstudio/CordovaCall/commit/c3be446b7444f4ddfde9cb6f70afbd7a5a607ed5

Tested on Samsung S8.