Good day.
First, thanks for the work you put in to enhance this plugin on behalf of the errors found in the original source.
I have an application that accepts video calls, I manage to play a sound in the background of an incoming call to alert the user someone is calling him. But once I accept it the sound automatically drops low somewhat similar to a normal phone call, so you have to put your ear near to the speaker, otherwise, you won't hear anything. This makes no sense in a video call as you want to use your camera to show your face while chatting with the other person.
I use the "preloadComplex" function to load the asset in the deviceReady function, once I accept the incoming call I use the "stop" function to pause the sound. Although this seems to work, it causes the audio from the call to be reproduced through the speaker instead of the loudspeaker, it should be high enough to hear the conversation from far away. What should I do here?
My configuration:
-
iPhone 7
-
SO Version: 13.5.1
-
MacBook Pro with macOS Catalina Version 10.15.7 (build 19H114)
-
Ionic Framework: ionic-angular 3.9.10
-
Ionic CLI: 6.11.8
-
Cordova CLI: 10.0.0
-
Cordova Platforms: android 8.0.0, ios 5.1.0
-
Xcode: 12.4 Build Version 12D4e
-
Visual Studio Code Version 1.53.1