Issue metadata
Sign in to add a comment
|
Performance regression in web audio (crackling/dropouts)
Reported by
nothingt...@gmail.com,
Aug 14 2017
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36 Steps to reproduce the problem: 1. Watch this video: https://www.facebook.com/aureliasoundworks/videos/10155320794236049/ 2. The audio begins to dropout / crackle as the video starts to progress 3. The dropouts are worse when the tab is in the background What is the expected behavior? No crackling/dropouts. This can be easily compared with v58 and v59 of Chrome that work correctly. What went wrong? The audio begins to dropout / crackle as the video starts to progress. We have also heard similar artefacts with YouTube. We have had reports of similar issues with Windows too. Did this work before? Yes v59 Does this work in other browsers? Yes Chrome version: 60.0.3112.90 Channel: stable OS Version: OS X 10.12.6 Flash Version:
,
Aug 14 2017
,
Aug 14 2017
The provided link does not work without logging in. Do you have a repro case that is publicly available?
,
Aug 14 2017
Hmm it is a public link -- it will try to log you in if you dismiss the blue box prompting you to wear headphones. Although, if you do have a Facebook account, I recommend that you login as the load can be very different with the rest of Facebook loaded up. We hear clicking in the YouTube version too, although it is rare: https://youtu.be/OMLgliKYqaI
,
Aug 14 2017
,
Aug 14 2017
,
Aug 15 2017
nothingtokeep@ Yes, I was able to hear the sound after dismissing the login modal. Can I ask you what kind of machine you're running? I tried both MBP and MacPro and couldn't reproduce the glitch.
,
Aug 15 2017
,
Aug 15 2017
@hongchan config image attached, but we've heard this from many of our users across Mac and Windows machines. I have been able to recreate it by running the video in a background tab -- the glitches begin happening about 1-2 minutes in. In some cases it is continuous, in others it happens every few seconds.
,
Aug 15 2017
nothingtokeep@ Thanks for the information. I think we have to approach this problem in few different angles. 1. See the attached screenshot of Chrome DevTool + WebAudio inspector. You can see the ambisonic decoding graph is oddly huge. So the WebAudio code can be optimized. For that matter, I suggest to play the material through Omnitone (https://github.com/GoogleChrome/omnitone) to see if there is any glitch in the binaurally rendered audio. (The second/third-order ambisonic support is available on the dev branch) 2. I couldn't reproduce the glitch on any of my Macs, but I could hear few glitches on linux. Interestingly enough, the glitch seems to be associated the user interaction on the video player. So it might be the issue of user interaction. If this is the case, we are working on raising the thread priority for WebAudio, so glitch can be avoided from the heavy user interaction or the main thread operation. (issue 734539)
,
Aug 16 2017
@hongchang Thanks for looking into it. That does not explain why we are seeing this issue only with v60. Previous versions of Chrome have been playing back fine -- for many months with no changes in our code.
,
Aug 16 2017
@hongchang Thanks for looking into this. I did a fair bit of testing with the video posted above on Facebook, as well as it's earlier avatar on YouTube where I noticed stuttering too. Video tested on YouTube: https://youtu.be/OMLgliKYqaI Output recorded from Chrome v59, and v60 https://www.dropbox.com/sh/orbflnufutd697s/AAAOUYRxJKecqsJm1dKqqITUa?dl=0 Observed results: reeps comparison_v60 has more stuttering than reeps comparison_v59. There are multiple places to hear the stuttering clearly. In addition, you can see from the waveforms (And through listening) how the **tempo of the song gradually drops** in Chrome v60. Let me know if the dropbox links don't work. Thank you for working on this with us.
,
Aug 25 2017
hongchan@ Any update on this thread?
,
Aug 25 2017
@nothingtokeep @abesh.thaku The fix has landed in 62.0.3196.0. Please try the latest Canary with your repro case.
,
Aug 25 2017
hongchan@ On preliminary testing, it seems that the issues have indeed been fixed. Will let you know if we or our clients notice it once more. Thank you so much to you and your team for fixing this and acting on the feedback. Much appreciated!
,
Aug 28 2017
,
Aug 28 2017
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by rtoy@chromium.org
, Aug 14 2017