Closed jwliang1226 closed 6 years ago
Hi, unfortunately this plugin currently doesn't deal with controlling the audio, but as you mentioned in a different issue, you should use the Cordova plugins audiotoggle or audioroute. Seemed to be sufficient when I used them.
I have to double check on 12/4, thank you :)
No problem, I hope it works for you. But please keep in mind that this should really be used for issues related to this plugin specifically, which is just the native call UI with iOS CallKit and Android ConnectionService currently. I know that @dmarcs would be happy to add features like this in the future if the plugin gets enough traction.
Yeah @D-Marc1 is right. It's very unlikely that this plugin is causing audio problems because it has nothing to do with the audio for your video chat. You might be using the audiotoggle or audioroute plugins incorrectly. I would remove those, and see if it works.
Hi @D-Marc1 & @dmarcs, if I do receiveCall at first time will get following error: 2017-12-04 09:03:11.489749+0800 app[1198:950271] [aurioc] 918: failed: 'ent?' (enable 3, outf< 1 ch, 48000 Hz, Int16> inf< 1 ch, 48000 Hz, Int16>) 2017-12-04 09:03:11.623567+0800 app[1198:950271] [aurioc] 918: failed: 'ent?' (enable 3, outf< 1 ch, 48000 Hz, Int16> inf< 1 ch, 48000 Hz, Int16>) 2017-12-04 09:03:11.727132+0800 app[1198:950271] [aurioc] 918: failed: 'ent?' (enable 3, outf< 1 ch, 48000 Hz, Int16> inf< 1 ch, 48000 Hz, Int16>) 2017-12-04 09:03:11.832094+0800 app[1198:950271] [aurioc] 918: failed: 'ent?' (enable 3, outf< 1 ch, 48000 Hz, Int16> inf< 1 ch, 48000 Hz, Int16>) 2017-12-04 09:03:11.934337+0800 app[1198:950271] [aurioc] 918: failed: 'ent?' (enable 3, outf< 1 ch, 48000 Hz, Int16> inf< 1 ch, 48000 Hz, Int16>)
The same error : https://github.com/Anakros/WebRTC/issues/10
Do you have any suggestions for me :)
@jwliang1226 It turns out that I'm missing a couple of lines that are probably causing this error. I'll try to fix it tomorrow if I have time after work.
@dmarcs OK, thank you:)
@jwliang1226 Please try uninstalling the plugin with cordova plugin rm com.dmarc.cordovacall
and then re-install it with cordova plugin add cordova-call
. Let me know if it works. I made a change that should fix the problem.
@dmarcs It works well. Nice plugin!
@jwliang1226 Awesome thanks for your help with this!
I'm using jssip, iosrtc and CordovaCall, I did a receiveCall but no sound at first receiveCall.(There is no sound for caller and callee). It's works well at second receiveCall and I have no error without CordovaCall.
Thanks for your review:)