*** id: 4e7c88fc-5858-40f6-abf4-c98aec84a263 title: RoomSessionDevice position: 3 slug: /js/reference/video/room-session-device max-toc-depth: 3 ---------------- A RoomSessionDevice represents a device (such as a microphone or a camera) that is at some point in its lifetime part of a [RoomSession](/docs/browser-sdk/v3/js/reference/video/room-session). You can obtain a RoomSessionDevice from the [RoomSession](/docs/browser-sdk/v3/js/reference/video/room-session) methods [addCamera](/docs/browser-sdk/v3/js/reference/video/room-session/add-camera), [addMicrophone](/docs/browser-sdk/v3/js/reference/video/room-session/add-microphone), and [addDevice](/docs/browser-sdk/v3/js/reference/video/room-session/add-device). ## Properties Whether the connection is currently active. The id of the video device, or null if not available. The label of the video device, or null if not available. Provides access to the local audio [MediaStreamTrack](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack). Provides access to the local [MediaStream](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream). Provides access to the local video [MediaStreamTrack](https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack). The id of the current member within the room. The id of the audio input device, or null if not available. The label of the audio input device, or null if not available. Provides access to the remote [MediaStream](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream). The unique identifier for the room. The unique identifier for the room session. ## Methods Join the room session Leave the room session Mute the microphone Unmute the microphone Mute the video Unmute the video Switch to a different camera Switch to a different microphone Set the input volume level Set the input sensitivity level *Set microphone volume (deprecated)*