'How can I get the volume from navigator.mediaDevices .getUserMedia?

I need to get the volume from the audio but I don't find any example to do this in angular.

    .getUserMedia({ audio: true, video: false })
    .then((stream) => { 
      this.micro = stream;
    });```


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source