Class: RemoteVideoTrackPublication

RemoteVideoTrackPublication

A RemoteVideoTrackPublication represents a RemoteVideoTrack that has been published to a Room.

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