Long random pauses between sounds in one browser

8 views
Skip to first unread message

R. Lund

unread,
Apr 21, 2014, 12:27:43 PM4/21/14
to jpl...@googlegroups.com
Hi.

Really weird issue.

I have a user interface with buttons that should play a click sound, and there's other sounds happening, too.
Whenever a sound should be played, I check if one is currently playing, and if it is, I add the sound to an array. Once the current sound has stopped playing, the queue array is checked and the next sound is played.

This is working great on all my work computers including a Linux machine.

However, my home computer is running Windows 8 64bit with Nightly (64bit Firefox development version) and adds the following issue:

Sounds will not play immediately one after another - occasionally they will, but most of the time, they randomly take 3-8 seconds to play.

All sounds exist as MP3 and OGG, and the browser is identified as HTML5 browser.

When using the Inspector, here's what happens:

The first sound plays, and once it's done playing, the "timeupdate" field will constantly switch between the values 3 and 4 until the next sound DOES play. While a sound plays, the value switches between 6 and 7, and the "progress" section shows 3.

Once the last sound is done, it often waits another few seconds, then "pause", "seeking", "seeked" and "ended" all turn to 1, "canplay" and "canplaythrough" turn to 2, and a second later they turn back to 0.

This does not happen on Chrome, it seems to be local to Nightly.
I just updated Nightly to the newest version (after not having updated it for a while), and still the same.

Is this a known issue of any kind or more likely one of these random Nightly issues?

Thanks!

R. Lund

unread,
Apr 21, 2014, 12:48:35 PM4/21/14
to jpl...@googlegroups.com
After testing a little more, it looks like the sound simply does not stop playing.

I have a 5 second sound, and after I can't hear the sound anymore, there is no change in the inspector until another random amount of seconds later when the player goes into pause mode.

So it is in fact not a pause between sounds, the player simply keeps playing when the sound should be completed and doesn't realize when it should be done.

But only in this one browser...
Reply all
Reply to author
Forward
0 new messages