Rooms Types
RoomTrackOptions
Defines an interface that represents the options that a audio/video track has.
Members
aspectRatio? number
The aspect ratio of the video if the track represents a video.
dimensions? object
The dimensions of the video if the track represents a video.
isRemote boolean
Whether the track is being sourced from a remote user.
muted boolean
Whether the track is muted locally.
remoteId string
The ID of the remote that is publishing this track.
source TrackSource
The source of the track.
videoQuality? TrackVideoQuality
The video quality of the track if the track represents video.
TrackVideoQuality
Defines the possible qualities that a track can stream at.
A TrackVideoQuality can be one of the following values:
"high"
"medium"
"low"
"off"