RoomSessionDevice
A RoomSessionDevice represents a device (such as a microphone or a camera) that is at some point in its lifetime part of a RoomSession. You can obtain a RoomSessionDevice from the RoomSession methods addCamera, addMicrophone, and addDevice.
Properties
active
Whether the connection is currently active.
cameraId
The id of the video device, or null if not available.
cameraLabel
The label of the video device, or null if not available.
localAudioTrack
Provides access to the local audio MediaStreamTrack.
localStream
Provides access to the local MediaStream.
localVideoTrack
Provides access to the local video MediaStreamTrack.
memberId
The id of the current member within the room.
microphoneId
The id of the audio input device, or null if not available.
microphoneLabel
The label of the audio input device, or null if not available.
remoteStream
Provides access to the remote MediaStream.
roomId
The unique identifier for the room.
roomSessionId
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
setMicrophoneVolume
Set microphone volume (deprecated)