# How to publisher volume control?

**URL:** <https://openvidu.discourse.group/t/how-to-publisher-volume-control/2304>\
**Category:** How to implement?\
**Tags:** v2\
**Created:** [November 23, 2020, 2:43am UTC](https://openvidu.discourse.group/t/how-to-publisher-volume-control/2304 "2020-11-23T02:43:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![minki.kim](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/minki.kim/32/961_2.png) [@minki.kim](https://openvidu.discourse.group/u/minki.kim)\
**Post date:** [November 23, 2020, 2:43am UTC](https://openvidu.discourse.group/t/how-to-publisher-volume-control/2304/1 "2020-11-23T02:43:12Z")

</div>

HI  
It’s a deakyo company that uses openVidu Pro

I want to set the volume before publishing…

Example Site ui

![image](https://global.discourse-cdn.com/free1/uploads/openvidu/original/2X/b/bbb1a3c21270181ff96983661758d542563587d2.png)

---

<div class="post-metadata">

**Author:** ![pabloFuente](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/pablofuente/32/2536_2.png) [@pabloFuente](https://openvidu.discourse.group/u/pabloFuente)\
**Post date:** [November 23, 2020, 9:23am UTC](https://openvidu.discourse.group/t/how-to-publisher-volume-control/2304/2 "2020-11-23T09:23:00Z")

</div>

You can try simply changing the volume of the HTMLVideoElement. Or maybe applying some kind of MediaStreamTrack constraints ([https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackSupportedConstraints/volume](https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackSupportedConstraints/volume)). Either way, this must probably be done in your application’s client side.
