Properties:
Name | Type | Argument | Description |
---|---|---|---|
audioTracks |
Map.<Track.SID, AudioTrackPublication> | The Participant's AudioTrackPublications |
|
dataTracks |
Map.<Track.SID, DataTrackPublication> | The Participant's DataTrackPublications. |
|
identity |
Participant.Identity | The identity of the Participant |
|
networkQualityLevel |
NetworkQualityLevel |
<nullable> |
The Participant's current NetworkQualityLevel, if any |
networkQualityStats |
NetworkQualityStats |
<nullable> |
The Participant's current NetworkQualityStats, if any |
sid |
Participant.SID | The Participant's SID |
|
state |
string | "connected", "disconnected" or "reconnecting" |
|
tracks |
Map.<Track.SID, TrackPublication> | The Participant's TrackPublications |
|
videoTracks |
Map.<Track.SID, VideoTrackPublication> | The Participant's VideoTrackPublications |
Fires:
Extends
- EventEmitter
Type Definitions
-
Identity
-
A Participant.Identity is a string that identifies a Participant. You can think of it like a name.
Type:
- string
-
SID
-
A Participant.SID is a 34-character string starting with "PA" that uniquely identifies a Participant.
Type:
- string
Events
-
disconnected
-
The Participant has disconnected.
Parameters:
Name Type Description participant
Participant The Participant that disconnected.
-
networkQualityLevelChanged
-
The Participant's NetworkQualityLevel changed.
Parameters:
Name Type Argument Description networkQualityLevel
NetworkQualityLevel The new NetworkQualityLevel
networkQualityStats
NetworkQualityStats <nullable>
The NetworkQualityStats based on which NetworkQualityLevel is calculated, if any
-
reconnected
-
The Participant has reconnected to the Room after a signaling connection disruption.
-
reconnecting
-
The Participant is reconnecting to the Room after a signaling connection disruption.
-
trackDimensionsChanged
-
One of the Participant's VideoTrack's dimensions changed.
Parameters:
Name Type Description track
VideoTrack The VideoTrack whose dimensions changed
-
trackStarted
-
One of the Participant's Tracks started.
Parameters:
Name Type Description track
Track The Track that started