*** id: c7cfebb3-7a44-4cda-be4a-34a72cef3f9e title: deaf slug: /node/reference/video/room-session/deaf description: deaf method for the RoomSession class. max-toc-depth: 3 ---------------- [video-roomsession-1]: /docs/server-sdk/v4/node/reference/video/room-session/audio-unmute ### deaf * **deaf**(`params`): `Promise` Mutes the incoming audio for a given member. The affected participant will not hear audio from the other participants anymore. Note that in addition to making a participant deaf, this will also automatically mute the microphone of the target participant. If you want, you can then manually unmute it by calling [audioUnmute][video-roomsession-1]. #### Parameters Object containing the parameters of the method. ID of the member to affect. #### Returns `Promise` #### Example ```js import { SignalWire } from "@signalwire/realtime-api"; // Initialize the SignalWire client const client = await SignalWire({ project: "ProjectID Here", token: "Token Here" }) // Access the video client from the main client const videoClient = client.video; // Setup listener for when a room starts await videoClient.listen({ onRoomStarted: async (roomSession) => { console.log("Room started", roomSession.displayName); await roomSession.listen({ // Listen for when a member joins the room onMemberJoined: async (member) => { console.log("Member joined", member.name); // Deafen the member console.log("Deafing member", member.name); await roomSession.deaf({ memberId: member.id }); } }); }, onRoomEnded: async (roomSession) => { console.log("Room ended", roomSession.displayName); } }); ```