Class: RemoteTrackPublication

RemoteTrackPublication

A RemoteTrackPublication represents a RemoteTrack that has been published to a Room.

Extends

Members


isSubscribed

Whether the published RemoteTrack is subscribed to

Properties:
Type Description
boolean

isTrackEnabled

Whether the published RemoteTrack is enabled

Properties:
Type Description
boolean

track

Unless you have subscribed to the RemoteTrack, this property is null

Properties:
Type Argument Description
RemoteTrack <nullable>

Events


subscribed

Your LocalParticipant subscribed to the RemoteTrack.

Parameters:
Name Type Description
track RemoteTrack

the RemoteTrack that was subscribed to


trackDisabled

The RemoteTrack was disabled.

Overrides:

trackEnabled

The RemoteTrack was enabled.

Overrides:

unsubscribed

Your LocalParticipant unsubscribed from the RemoteTrack.

Parameters:
Name Type Description
track RemoteTrack

the RemoteTrack that was unsubscribed from