I would like some advice on how best to get the microphone activity level of an audio MediaStreamTrack javascript object in Chrome/Canary. The MediaStrea
MediaStreamTrack
MediaStrea
UPDATE: modified the code using:
navigator.mediaDevices.getUserMedia(constraints).then( function(stream){ // code ... }).catch(function(err) { // code ... });
Here is a fiddle: https://jsfiddle.net/elshnkhll/p07e5vcq/