Reduce volume of audio consumer

Is there a way to reduce volume of audio consumer on mediasoup server?

Regards,
Amit M

On the client you can use set HTMLMediaElement.volume - Web APIs | MDN and use WebAudio APIs to analyse it.

Server side wise I think you need to pipe the stream over to ffmeg or some other util which will take some CPU.

2 Likes