Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sound bug when playing in ipad #295

Open
s-senguttuvan opened this issue Mar 28, 2018 · 3 comments
Open

sound bug when playing in ipad #295

s-senguttuvan opened this issue Mar 28, 2018 · 3 comments
Assignees

Comments

@s-senguttuvan
Copy link

s-senguttuvan commented Mar 28, 2018

hi,
am using soundjs for so long.
2day i found 1 issue on ipad.

first i open link in ipad sound plays fine when clicking button after i open new tab and open the same link again and sound plays when clicking button.

now if i go to 1 tab and click button to test sound, that time sound not working.

not only my code i tested https://createjs.com/getting-started/soundjs
not working.

help me!!

note:

  • audio playing event called
  • audio complete event captured
  • no sound is coming from audio
@lannymcnie
Copy link
Member

If you are tab-switching, there is a good chance the audio context is getting suspended. If you debug it, you can look at createjs.Sound.activePlugin.context.state to see what the WebAudio will currently allow.

@s-senguttuvan
Copy link
Author

s-senguttuvan commented Apr 30, 2018

hi,
i dont know what it does internally,
the problem is only in ipad (desktop working fine),
open soundjs projects (same project or different) one by one,

first i load project x,
sounds working well

i try to open same project x on new tab,
sounds working well.

now i switch to old tab,
sounds playing internally,
using console.log can find sound starts playing,sound complete everything.

but the problem is no sound is coming .

help me regarding that.

thanks

@JonDevoS
Copy link

JonDevoS commented Aug 7, 2018

Hi
i have the same problem on android google chrome v67 and v69 dev
seems like sound is playing
createjs.Sound.activePlugin.context.state = "running";
but no sound is coming
then if sound stop and again run he playing good again

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants