You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/12/16 09:24:15 UTC

[GitHub] [cordova-plugin-media] ortexx opened a new issue #299: ANDROID: Audio is playing after releasing

ortexx opened a new issue #299:
URL: https://github.com/apache/cordova-plugin-media/issues/299


   # Bug Report
   
   I'm not sure which side exactly the behavior described below is on. i'd like to figure it out.
   So, when i release the media in some cases the audio is playing again.
   
   ### What is expected to happen?
   
   The OS should "forget" about the media after the releasing.
   
   ### What does actually happen?
   I have a player that uses the library.
   
   So, I play the first song, then click the button to run the second one. After the click the first song media is releasing( media.release() ) and the second one starts playing. It looks ok in most cases, but when i run some other media (let's say i'm recording a voice message in the messanger) between,  then after  the media control turns back to my application the first song is playing again even it had been released. And both songs are playing together. The OS get back the first song (released), but not the second, that is already the current one actually. 
   
   To reproduce this, you can be changing different songs (releasing last ones) and recording little voice messages at once, for example.
   
   ### Environment, Platform, Device
   I test it in xiaomi mi9t, android 10 miui 12
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org