Properties:
Name | Type | Description |
---|---|---|
audioTracks |
Map.<Track.SID, RemoteAudioTrack> | The Participant's RemoteAudioTracks. |
dataTracks |
Map.<Track.SID, RemoteDataTrack> | The Participant's RemoteDataTracks. |
tracks |
Map.<Track.SID, RemoteTrack> | The Participant's RemoteTracks |
videoTracks |
Map.<Track.SID, RemoteVideoTrack> | The Participant's RemoteVideoTracks. |
Fires:
- RemoteParticipant#event:trackAdded
- RemoteParticipant#event:trackDimensionsChanged
- RemoteParticipant#event:trackDisabled
- RemoteParticipant#event:trackEnabled
- RemoteParticipant#event:trackMessage
- RemoteParticipant#event:trackRemoved
- RemoteParticipant#event:trackStarted
- RemoteParticipant#event:trackSubscribed
- RemoteParticipant#event:trackSubscriptionFailed
- RemoteParticipant#event:trackUnsubscribed
Extends
Events
-
disconnected
-
The Participant has disconnected.
Parameters:
Name Type Description participant
Participant The Participant that disconnected.
- Inherited From:
-
trackAdded
-
A RemoteTrack was added by the RemoteParticipant.
Parameters:
Name Type Description track
RemoteTrack The RemoteTrack that was added
- Overrides:
-
trackDimensionsChanged
-
One of the RemoteParticipant's RemoteVideoTrack's dimensions changed.
Parameters:
Name Type Description track
RemoteVideoTrack The RemoteVideoTrack whose dimensions changed
- Overrides:
-
trackDisabled
-
A RemoteTrack was disabled by the RemoteParticipant.
Parameters:
Name Type Description track
RemoteTrack The RemoteTrack that was disabled
- Overrides:
-
trackEnabled
-
A RemoteTrack was enabled by the RemoteParticipant.
Parameters:
Name Type Description track
RemoteTrack The RemoteTrack that was enabled
- Overrides:
-
trackMessage
-
A message was received over one of the RemoteParticipant's RemoteDataTracks.
Parameters:
Name Type Description data
string | ArrayBuffer track
RemoteDataTrack The RemoteDataTrack over which the message was received
-
trackRemoved
-
A RemoteTrack was removed by the RemoteParticipant.
Parameters:
Name Type Description track
RemoteTrack The RemoteTrack that was removed
- Overrides:
-
trackStarted
-
One of the RemoteParticipant's RemoteTracks started.
Parameters:
Name Type Description track
RemoteTrack The RemoteTrack that started
- Overrides:
-
trackSubscribed
-
A RemoteParticipant's RemoteTrack was subscribed to.
Parameters:
Name Type Description track
RemoteTrack The RemoteTrack that was subscribed to
-
trackSubscriptionFailed
-
A RemoteParticipant's RemoteTrack could not be subscribed to.
Parameters:
Name Type Description error
TwilioError The reason the RemoteTrack could not be subscribed to
-
trackUnsubscribed
-
A RemoteParticipant's RemoteTrack was unsubscribed from.
Parameters:
Name Type Description track
RemoteTrack The RemoteTrack that was unsubscribed from