W3C home > Mailing lists > Public > public-audio-dev@w3.org > September 2013

Windows latency for getUserMedia()

From: Bjorn Melinder <bjorn.melinder@gmail.com>
Date: Fri, 20 Sep 2013 17:10:15 +0200
Message-ID: <CAGpT7-mbqVbZfLppvBbCBtAQ-t_hAkWsrYMpT0uKyyLy8Awq6w@mail.gmail.com>
To: public-audio-dev@w3.org
Hello,

does anyone know if Google Chrome or Firefox plan to support low-latency
audio input using getUserMedia()?

On Mac with Google Chrome, I can successfully get audio from
getUserMedia(), route it through a web audio graph (e.g. reverb) and get
excellent latency through the speakers. This makes it suitable for live
audio, such as playing an electric guitar or singing, without noticable
delay. It's really amazing to get the same performance and quality using
HTML5 as if using traditional, native programming.

However, when trying Google Chrome on Windows, the latency is not nearly as
good. As far as I understand, WASAPI is used in non-exclusive mode. It
seems to me, what would be needed is either exclusive mode audio support
(e.g. as an input device option in the address bar) or ASIO support.

In my opinion, reducing latency on Windows would open up the live audio
aspect of the platform to a much broader audience. I'm guessing there are
plans for this - if any can shed some light, I'd appreciate it!

Thanks,
Bjorn
Received on Friday, 20 September 2013 16:20:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:03:50 UTC