I am building a react app. its using react and daily.co for video calls. Can someone suggest me a way to control volume and make it 0% if needed to mute participants using JavaScript AND REACT . kindly include a code example for more clarity.
I googled a number of libraries but im not sure which one i should use to achieve this.
If you want to control system volume, you cannot.
Javascript can control
videooraudioon its site.For example:
Which values:
See more: w3schools
To do the same in
ReactJSyou can use useRef hook to reference tovideo/audioyou want to control and do the same above