0
What I would like is a way to get the level of the microphone I define in Windows.
I use this code to catch the stream
navigator.mediaDevices.getUserMedia()
.then(function(stream) {
console.log(stream)
})
But from that stream object I need that level, or something that points to me that the microphone is not at 100% capacity.
This is not possible heimm ... via JS there is no way to get this OS Info, what you can try to do is check the dB as someone talks in Mic and assume that it is too high ...
– ederwander
And how would I assume that ? what would be the parameter to know this ?
– Lucas Caresia
based on an adaptive Threshold, making a few seconds pre-analysis on the Mic and defining whether dB is above what you consider high ....
– ederwander