Properties:
| Name | Type | Description | 
|---|---|---|
audioTracks | 
            
            Map.<Track.SID, RemoteAudioTrack> | The Participant's RemoteAudioTracks  | 
        
audioTrackPublications | 
            
            Map.<Track.SID, RemoteAudioTrackPublication> | |
dataTracks | 
            
            Map.<Track.SID, RemoteDataTrack> | The Participant's RemoteDataTracks  | 
        
dataTrackPublications | 
            
            Map.<Track.SID, RemoteDataTrackPublication> | |
tracks | 
            
            Map.<Track.SID, RemoteTrack> | The Participant's RemoteTracks  | 
        
trackPublications | 
            
            Map.<Track.SID, RemoteTrackPublication> | |
videoTracks | 
            
            Map.<Track.SID, RemoteVideoTrack> | The Participant's RemoteVideoTracks  | 
        
videoTrackPublications | 
            
            Map.<Track.SID, RemoteVideoTrackPublication> | 
Fires:
- RemoteParticipant#event:trackAdded
 - RemoteParticipant#event:trackDimensionsChanged
 - RemoteParticipant#event:trackDisabled
 - RemoteParticipant#event:trackEnabled
 - RemoteParticipant#event:trackMessage
 - RemoteParticipant#event:trackPublished
 - RemoteParticipant#event:trackRemoved
 - RemoteParticipant#event:trackStarted
 - RemoteParticipant#event:trackSubscribed
 - RemoteParticipant#event:trackSubscriptionFailed
 - RemoteParticipant#event:trackUnpublished
 - RemoteParticipant#event:trackUnsubscribed
 
Extends
Events
- 
    
disconnected
 - 
    
    
The Participant has disconnected.
Parameters:
Name Type Description participantParticipant The Participant that disconnected.
- Inherited From:
 - Overrides:
 
 - 
    
networkQualityLevelChanged
 - 
    
    
The Participant's NetworkQualityLevel changed.
Parameters:
Name Type Argument Description networkQualityLevelNetworkQualityLevel The new NetworkQualityLevel
networkQualityStatsNetworkQualityStats <nullable> 
The NetworkQualityStats based on which NetworkQualityLevel is calculated, if any
- Inherited From:
 - Overrides:
 
 - 
    
trackAdded
 - 
    
    
A RemoteTrack was added by the RemoteParticipant.
Parameters:
Name Type Description trackRemoteTrack The RemoteTrack that was added
- Overrides:
 - Deprecated:
 - 
        
- Use RemoteParticipant#trackSubscribed instead
 
 
 - 
    
trackDimensionsChanged
 - 
    
    
One of the RemoteParticipant's RemoteVideoTrack's dimensions changed.
Parameters:
Name Type Description trackRemoteVideoTrack The RemoteVideoTrack whose dimensions changed
- Overrides:
 
 - 
    
trackDisabled
 - 
    
    
A RemoteTrack was disabled by the RemoteParticipant.
Parameters:
Name Type Description trackRemoteTrack The RemoteTrack that was disabled
- Overrides:
 
 - 
    
trackEnabled
 - 
    
    
A RemoteTrack was enabled by the RemoteParticipant.
Parameters:
Name Type Description trackRemoteTrack The RemoteTrack that was enabled
- Overrides:
 
 - 
    
trackMessage
 - 
    
    
A message was received over one of the RemoteParticipant's RemoteDataTracks.
Parameters:
Name Type Description datastring | ArrayBuffer trackRemoteDataTrack The RemoteDataTrack over which the message was received
 - 
    
trackPublished
 - 
    
    
A RemoteTrack was published by the RemoteParticipant after connecting to the Room. This event is not emitted for RemoteTracks that were published while the RemoteParticipant was connecting to the Room.
Parameters:
Name Type Description publicationRemoteTrackPublication The RemoteTrackPublication which represents the published RemoteTrack
Example
function trackPublished(publication) { console.log(`Track ${publication.trackSid} was published`); } room.on('participantConnected', participant => { // Handle RemoteTracks published while connecting to the Room. participant.trackPublications.forEach(trackPublished); // Handle RemoteTracks published after connecting to the Room. participant.on('trackPublished', trackPublished); }); - 
    
trackRemoved
 - 
    
    
A RemoteTrack was removed by the RemoteParticipant.
Parameters:
Name Type Description trackRemoteTrack The RemoteTrack that was removed
- Overrides:
 - Deprecated:
 - 
        
- Use RemoteParticipant#trackUnsubscribed instead
 
 
 - 
    
trackStarted
 - 
    
    
One of the RemoteParticipant's RemoteTracks started.
Parameters:
Name Type Description trackRemoteTrack The RemoteTrack that started
- Overrides:
 
 - 
    
trackSubscribed
 - 
    
    
A RemoteParticipant's RemoteTrack was subscribed to.
Parameters:
Name Type Description trackRemoteTrack The RemoteTrack that was subscribed to
 - 
    
trackSubscriptionFailed
 - 
    
    
A RemoteParticipant's RemoteTrack could not be subscribed to.
Parameters:
Name Type Description errorTwilioError The reason the RemoteTrack could not be subscribed to
publicationRemoteTrackPublication The RemoteTrackPublication for the RemoteTrack that could not be subscribed to
 - 
    
trackUnpublished
 - 
    
    
A RemoteTrack was unpublished by the RemoteParticipant.
Parameters:
Name Type Description publicationRemoteTrackPublication The RemoteTrackPublication which represents the unpublished RemoteTrack
 - 
    
trackUnsubscribed
 - 
    
    
A RemoteParticipant's RemoteTrack was unsubscribed from.
Parameters:
Name Type Description trackRemoteTrack The RemoteTrack that was unsubscribed from