Properties:
Name | Type | Argument | Description |
---|---|---|---|
kind |
Track.Kind | "data" |
|
track |
RemoteDataTrack |
<nullable> |
unless you have subscribed to the RemoteDataTrack, this property is null |
Fires:
Events
-
subscribed
-
Your LocalParticipant subscribed to the RemoteDataTrack.
Parameters:
Name Type Description track
RemoteDataTrack the RemoteDataTrack that was subscribed to
-
subscriptionFailed
-
Your LocalParticipant failed to subscribe to the RemoteDataTrack.
Parameters:
Name Type Description error
TwilioError the reason the RemoteDataTrack could not be subscribed to
-
unsubscribed
-
Your LocalParticipant unsubscribed from the RemoteDataTrack.
Parameters:
Name Type Description track
RemoteDataTrack the RemoteDataTrack that was unsubscribed from