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.
<rdar://problem/33960944>
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?
Works as expected in "Safari Tech Preview" :))