setInputSensitivity
setInputSensitivity
- setInputSensitivity(
params):Promise<void>
Sets the input level at which the participant is identified as currently speaking. You can use this method to set the input sensitivity for either yourself or another participant in the room.
Parameters
params
Object containing the parameters of the method.
memberId
Id of the member to affect. If omitted, affects the default device in the local client.
value
Desired sensitivity from 0 (lowest sensitivity, essentially muted) to 100 (highest sensitivity). The default value is 30.
Returns
Promise<void>
Permissions
room.self.set_input_sensitivity: to set the sensitivity for a local device.room.member.set_input_sensitivity: to set the sensitivity for a remote member.
You need to specify the permissions when creating the Video Room Token on the server side.
Examples
Setting your own input sensitivity:
Setting the input sensitivity of another participant: