*** id: 799d0bdb-ee31-420e-947e-bea1202e9771 title: setHideVideoMuted slug: /node/reference/video/room-session/set-hide-video-muted description: setHideVideoMuted method for the RoomSession class. max-toc-depth: 3 ---------------- [roomsession-41]: /docs/server-sdk/v4/node/reference/video/room-session [video-roomsession-3]: /docs/server-sdk/v4/node/reference/video/room-session/video-mute ### setHideVideoMuted * **setHideVideoMuted**(`value`): `Promise` Show or hide muted videos in the room layout. Members that have been muted via [`videoMute`][video-roomsession-3] will not appear in the video stream, instead of appearing as a mute image, if this setting is enabled. Muted videos are shown by default. #### Parameters Whether to hide muted videos in the room layout. #### Returns `Promise` #### Example In this example, we wait for a room to start and then hide muted videos in the room layout. If you mute your video, you will not appear in the video stream, instead of appearing as a mute image. This example assumes that there is a [`RoomSession`][roomsession-41] already active and that members are joining the room. ```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); // Setup listener for when a room is updated roomsession.listen({ onRoomUpdated: async (roomsession) => { console.log(`Updated room ${roomsession.displayName} to hide muted videos!`); } }); // Hide muted videos in the room layout roomsession.setHideVideoMuted(true); } }) ```