> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# deaf

> deaf method for the RoomSession class.

### deaf

* **deaf**(`params?`): `Promise<void>`

Mutes the incoming audio. The affected participant will not hear audio from the other participants anymore. You can use this method to make deaf either yourself or another participant in the room.

Note that in addition to making a participant deaf, this will also automatically mute the microphone of the target participant (even if there is no `audio_mute` permission). If you want, you can then manually unmute it by calling [audioUnmute](/docs/browser-sdk/v3/js/reference/video/room-session/audio-unmute).

#### Parameters

Object containing the parameters of the method.

Id of the member to affect. If omitted, affects the default device in the local client.

#### Returns

`Promise<void>`

#### Permissions

* `room.self.deaf`: to make yourself deaf.
* `room.member.deaf`: to make deaf a remote member.

You need to specify the permissions when [creating the Video Room Token](/docs/apis/rest/video/room-tokens/create-room-token) on the server side.

#### Examples

Making yourself deaf:

```javascript
await roomSession.deaf();
```

Making another participant deaf:

```javascript
const id = "de550c0c-3fac-4efd-b06f-b5b8614b8966"; // you can get this from getMembers()
await roomSession.deaf({ memberId: id });
```