mozilla / shumway

Shumway is a Flash VM and runtime written in JavaScript
Apache License 2.0
3.68k stars 396 forks source link

Audio playback issues #2390

Open buttercookie42 opened 9 years ago

buttercookie42 commented 9 years ago

Trying to play this file http://www.angelfire.com/fl/sapringer/images/STARTREKKINvideo.swf there are some problems regarding the audio playback:

  1. audio playback only starts approximately nine seconds into the animation
  2. even afterwards, there are short breaks/stutters in the audio
  3. and over time, maybe because of the above, audio and animation get out of sync with the audio lagging behind

Regarding 1.), if after opening a new tab with that file I switch to another tab as soon as I can see that the file has loaded and the animation is about to play, then wait for maybe ten seconds and then switch back, audio playback is working from the start of the animation.

I've tested on Windows 7 both with the version of Shumway integrated into the current Nightly and the development version from here.

buttercookie42 commented 9 years ago

And another observation: If, after audio playback has started, I switch to another tab, audio playback continues, but the animation stops, so after switching back, they are out of sync - although in this case, after switching back to the SWF file, audio playback stops until it is (at least approximately, see 3.) above), back in sync with the animation.