Use RoomSessionDevice instead.
• Readonly active: boolean
Whether the connection is currently active.
• Readonly cameraId: null | string
The id of the video device, or null if not available.
• Readonly cameraLabel: null | string
The label of the video device, or null if not available.
• Readonly localAudioTrack: null | MediaStreamTrack
Provides access to the local audio MediaStreamTrack.
• Readonly localStream: undefined | MediaStream
Provides access to the local MediaStream.
• Readonly localVideoTrack: null | MediaStreamTrack
Provides access to the local video MediaStreamTrack.
• Readonly memberId: string
The id of the current member within the room.
• Readonly microphoneId: null | string
The id of the audio input device, or null if not available.
• Readonly microphoneLabel: null | string
The label of the audio input device, or null if not available.
• Readonly remoteStream: undefined | MediaStream
Provides access to the remote MediaStream.
• Readonly roomId: string
The unique identifier for the room.
• Readonly roomSessionId: string
The unique identifier for the room session.
▸ audioMute(): Promise<void>
Puts the microphone on mute. The other participants will not hear audio from the muted device anymore.
Promise<void>
room.self.audio_muteYou need to specify the permissions when creating the Video Room Token on the server side.
Muting the microphone:
▸ audioUnmute(): Promise<void>
Unmutes the microphone if it had been previously muted.
Promise<void>
room.self.audio_unmuteYou need to specify the permissions when creating the Video Room Token on the server side.
Unmuting the microphone:
▸ join(): Promise<void>
Joins this device to the room session.
Promise<void>
▸ leave(): Promise<void>
Detaches this device from the room session.
Promise<void>
▸ setInputSensitivity(params): Promise<void>
Sets the input level at which the participant is identified as currently speaking.
Promise<void>
room.self.set_input_sensitivityYou need to specify the permissions when creating the Video Room Token on the server side.
▸ setInputVolume(params): Promise<void>
Sets the input volume level (e.g. for the microphone).
Promise<void>
room.self.set_input_volumeYou need to specify the permissions when creating the Video Room Token on the server side.
▸ setMicrophoneVolume(params): Promise<void>
Deprecated. Use setInputVolume instead.
Promise<void>
▸ updateCamera(constraints): Promise<void>
Replaces the current camera stream with the one coming from a different device.
Promise<void>
Replaces the current camera stream with the one coming from the specified deviceId:
▸ updateMicrophone(constraints): Promise<void>
Replaces the current microphone stream with the one coming from a different device.
Promise<void>
Replaces the current microphone stream with the one coming from the specified deviceId:
▸ videoMute(): Promise<void>
Puts the video on mute. Participants will see a mute image instead of the video stream.
Promise<void>
room.self.video_muteYou need to specify the permissions when creating the Video Room Token on the server side.
Muting the camera:
▸ videoUnmute(): Promise<void>
Unmutes the video if it had been previously muted. Participants will start seeing the video stream again.
Promise<void>
room.self.video_unmuteYou need to specify the permissions when creating the Video Room Token on the server side.
Unmuting the camera: