Audio input MediaStream wired though WebAudio API produces choppy audio
Reported by
thembr...@gmail.com,
Feb 18 2017
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Platform: See inline text for details Steps to reproduce the problem: Okay guys, this one is gonna be fun to reproduce, but it does actually reproduce reliably. 1. Plug in headphones to avoid audio loopback 2. Open test case https://jsfiddle.net/thembrown/dkak19v1/ on the following audio input hardware / platforms combination: * ChromeOS and "C Media" sound input device with chipset CM108 and USB identifier 0d8c:013c (I have reason to believe that one with 0d8c:000c might also work, but I was not able to buy one and verify it myself). I used a USB mic that is available for $5 on Amazon called "SF-555B" that comes with the CM108 chipset. It does NOT reproduce with another C Media device I tested (0d8c:0014, which seems to use a different chipset). 2. Make sure the CM108 audio device is used as input in ChromeOS 3. Now just go to a quiet place and listen to the white noise in the headphone, or connect/play a sine wave as input via the CM108 input. What is the expected behavior? WebAudio API should not produce choppy audio (see baseline testcase without WebAudio API in linked example for expected behavior). What went wrong? Every X seconds, the sound skips as if audio samples are dropped for a few ms. X depends on the platform, but is constant there (I verified with a stopwatch multiple times) - X=27s On Platform 9000.82.0 (Official Build) stable-channel daisy_spring, hp chromebook 11, first generation (with the Chrome and Google Logos), 56.0.2924.87 - X=17s on Platform 9202.18.0 (Official Build) beta-channel peppy, Acer C720, 57.0.2987.32 Most likely also reproduces with other platforms and with other audio hardware sometimes, but I was not able to reproduce it there reliably. I got it to reproduce reliably once on Linux with "Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller" (all Chrome channels), but only until I rebooted the device and never since. This is the result I got there https://youtu.be/fzLhpHpuncE (much more regular and noticeable than with the Chromebooks / CM108) Did this work before? N/A Does this work in other browsers? N/A Chrome version: 56.0.2924.87 Channel: stable OS Version: Flash Version: Shockwave Flash 24.0 r0 Link to CM108 device I used: https://www.amazon.com/SF-555B-Microphone-TOOGOO-Super-Condenser/dp/B01FLRV596/
,
Feb 18 2017
Also on C100PA-DB01, but with a sine wave input instead of silence/white noise. Same story, but this way it's much easier hear dropped samples without a headphones. https://www.youtube.com/watch?v=c_N1hFKBtDw Dropped audio samples on 0:02, 0:15, 0:29, ...
,
Feb 21 2017
Possibly related to issue 595635.
,
Feb 24 2017
,
Apr 6 2017
as per c#3, it may related to 595635. so give to rtoy to start. remove from unconfimed plate. |
|||
►
Sign in to add a comment |
|||
Comment 1 by thembr...@gmail.com
, Feb 18 2017