Skip to content

sound bug when playing in ipad #295

Open

Description

@s-senguttuvan

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

Activity

  1. lannymcnie commented on Apr 4, 2018

    @lannymcnie
    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.

  2. s-senguttuvan commented on Apr 30, 2018

    @s-senguttuvan
    Author

    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

  3. JonDevoS commented on Aug 7, 2018

    @JonDevoS

    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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions