Taxi4you opened a new issue #262: Need to wait couple of minutes before playing 
sound again
URL: https://github.com/apache/cordova-plugin-media/issues/262
 
 
   # Bug Report
   
   ## Problem
   Playing sound is working. Playing this sound again after some couple of 
seconds - not working and the sound is not getting played. Actually I don't how 
much time exactly is needed in order to play the sound on the second time, but 
its something like 3 minutes or so.
   
   ### What is expected to happen?
   It should be able to play sounds one by another without any issue.
   
   
   ### What does actually happen?
   Need to wait couple of minutes in order to play the second sound (even with 
different files).
   
   
   ## Information
   iOS only. On Android I don't know what is the path of the files therefore I 
use something else to play media in Android.
   
   
   ### Command or Code
   ```
       var path = "static/audio/notifications/order.mp3"
       let media = new Media(path)
       media.play({playAudioWhenScreenIsLocked: true})
       media.setVolume('1.0')
   ```
   
   ### Environment, Platform, Device
   iOS - any version.
   
   
   ### Version information
   cordova -v 8.1.2 ([email protected])
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [ x] I searched for existing GitHub issues
   - [ x] I updated all Cordova tooling to most recent version
   - [ x] I included all the necessary information above
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to