Can you dynamically control the audio levels between individual Participants in a Video Room?

dtoomey
admin
Audio levels can be managed using the platform capabilities; Twilio does not provide an API for these controls. For example, in web browsers, the Web Audio API allows to audio level to be controlled in a per-track basis, see https://www.w3.org/TR/webaudio/.
Tagged:
Comments
-
The following code can be used to set the volume on a HTML audio element.
var aud = document.getElementById("participantAudio"); aud.volume = 0.2;
One approach to mute a participant's audio track is to detach the track from the DOM element using the track.detach() method.
Categories
- 83 All Categories
- 19 SIGNAL 2021
- 376 Product Discussions
- 7 Community - Announcements
- 2 Changelog
- 4 Forum UI Updates
- 8 Welcome Guide
- 6 Community - Events
- 2 Twilio Relay Developer Conference 2021 Mega Thread
- 1 External Community Events
- 25 Inspiration
- 17 Community - Other Discussions
- 1 Community- Twilio Startups
If this is an emergency, please contact Twilio Support. This is not an official Support channel. https://support.twilio.com/
Have an urgent question?
Please contact Twilio Support. This is not an official Support channel.
Contact Support