setInputVolume
setInputVolume
- setInputVolume(
params):Promise<void>
Sets the input volume for a given member (e.g., the microphone input level).
Parameters
params
Object containing the parameters of the method.
memberId
ID of the member to affect.
volume
Desired volume. Values range from -50 to 50.
Returns
Promise<void>
Example
In this example, we wait for a second member to join the room and then set the input volume for that member to -50.
This example assumes that there is a RoomSession
already active and that members are joining the room.