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