floatinghotpot / cordova-plugin-nativeaudio

The low latency audio plugin is designed to enable low latency and polyphonic audio from Cordova/PhoneGap applications, using a very simple and basic API.
MIT License
235 stars 288 forks source link

Not pausing system media player on sound play , probably via AVAudioSessionInterruption #67

Open antsav opened 8 years ago

antsav commented 8 years ago

Could you please add feature of pausing background audio (for example music) on moment of sound play and then continuing music play. as per : http://stackoverflow.com/questions/9476698/background-audio-doesnt-resume-after-a-call

or some functionality to let sound play with music concurrently, not setting system Music player, or Spotify on pause

xpacheco commented 8 years ago

Agree with this! Currently this is a stop/ship issue for us.

mrnebbi commented 8 years ago

I have a workaround for a similar issue that may solve your problem. It requires a small change to the a the line that sets up the audio session. https://github.com/floatinghotpot/cordova-plugin-nativeaudio/issues/75