[Webkit-unassigned] [Bug 181557] New: getUserMedia => ScriptProcessorNode yields inputBuffer of all zeros
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 11 13:43:25 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=181557
Bug ID: 181557
Summary: getUserMedia => ScriptProcessorNode yields inputBuffer
of all zeros
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Audio
Assignee: webkit-unassigned at lists.webkit.org
Reporter: boris at smus.com
I was trying to get raw audio input signal from the microphone on my computer. I found that connecting getUserMedia to a ScriptProcessorNode works, but that the input buffers that are read by the onprocess callback of the ScriptProcessorNode are all zeros.
Here's how you can test it:
1. Open https://webrtc.github.io/samples/src/content/getusermedia/volume/ in WebKit (I tried in Safari Version 11.0.2 (13604.4.7.1.3) and Safari Technology Preview)
2. Observe the instant, slow and clip volume meters.
Actual: they are all zero.
Expected: they should fluctuate in response to the ambient sound captured by your device's mic.
Same URL works in Chrome.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180111/1ed5eda0/attachment.html>
More information about the webkit-unassigned
mailing list