*** id: 8f366f6e-e143-45c4-b0ad-751555a5be8e title: setInputVolume slug: /js/reference/video/room-session/set-input-volume description: setInputVolume method for the RoomSession class. max-toc-depth: 3 ---------------- ### setInputVolume * **setInputVolume**(`params`): `Promise` Sets the input volume level (e.g. for the microphone). You can use this method to set the input volume for either yourself or another participant in the room. #### Parameters Object containing the parameters of the method. Id of the member for which to set input volume. If omitted, sets the volume of the default device in the local client. Desired volume. Values range from -50 to 50, with a default of 0. #### Returns `Promise` #### Permissions * `room.self.set_input_volume`: to set the volume for a local device. * `room.member.set_input_volume`: to set the volume for a remote member. You need to specify the permissions when [creating the Video Room Token](/docs/apis/video/room-tokens/create-room-token) on the server side. #### Examples Setting your own microphone volume: ```javascript await roomSession.setInputVolume({ volume: -10 }); ``` Setting the microphone volume of another participant: ```javascript const id = "de550c0c-3fac-4efd-b06f-b5b8614b8966"; // you can get this from getMembers() await roomSession.setInputVolume({ memberId: id, volume: -10 }); ```