WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
181557
getUserMedia => ScriptProcessorNode yields inputBuffer of all zeros
https://bugs.webkit.org/show_bug.cgi?id=181557
Summary
getUserMedia => ScriptProcessorNode yields inputBuffer of all zeros
Boris Smus
Reported
2018-01-11 13:43:25 PST
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Eric Carlson
Comment 1
2018-01-12 10:58:27 PST
<
rdar://problem/33960944
>
Maxim Solodovnik
Comment 2
2020-11-15 04:00:35 PST
This WebRTC example doesn't work for me in Safari 14.0 It seems like no data is received from microphone can it be fixed?
Maxim Solodovnik
Comment 3
2020-11-15 04:44:29 PST
Works as expected in "Safari Tech Preview" :))
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug