IonDen / ion.sound

JavaScript plugin for playing sounds and music in browsers

Home Page:http://ionden.com/a/plugins/ion.sound/en.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sound doesnt play after a call

pmoitech opened this issue · comments

commented

Hello, I have an app mobile and it is working fine with ion js, but in some cases when the mobiles got a call it happens that, after the call is finished, the sound doesnt play. Is there a way to re-load the driver or other way to fix the problem? thanks.

Hello, never heard about this bug. Please tell me more. What device, what op. system. Did you tested on other devices?

commented

Hi, yes, in Android 4.1, the sound goes fine until there is a call, but it is not always, 2 of 3 I would say.

Tell me more about your app. Technology stack.

commented

My app is a web service, i use jquery mobile and html5, in my app i need to verify each 8 secs if there is service connection to the network, so i send a get to my server and wait for the response, if ok i play a success beep that means the server is online and the app is working fine, and if not response frome server i play a failure beep that means something is wrong with either the network or the server, all this ocurr each 8 secs. After a call, the app doesnt play any more the sound, neither success of failure

You do that in browser or use something like Phonegap?

commented

i use phonegab only to get the device info, dont try in browser

commented

is there a way to know the sounds is not playing and force them to play..?

There are some onEnded callbacks. Try to use them.

commented

about the onEnded callbacks, can you send me the url?

commented

Thanks