public class RemoteVideoTrackPublication extends Object implements VideoTrackPublication
RemoteVideoTrack
that has been shared to a
Room
.Modifier and Type | Method and Description |
---|---|
TrackPriority |
getPublishPriority()
Returns the
TrackPriority set by the publisher for the corresponding RemoteVideoTrack . |
RemoteVideoTrack |
getRemoteVideoTrack() |
String |
getTrackName()
Returns the name of the published video track.
|
String |
getTrackSid()
Returns the remote video track's server identifier.
|
VideoTrack |
getVideoTrack()
Returns the base video track object of the published remote video track.
|
boolean |
isTrackEnabled()
Returns true if the published video track is enabled or false otherwise.
|
boolean |
isTrackSubscribed()
Check if the remote video track is subscribed to by the
LocalParticipant . |
public String getTrackSid()
Room
.getTrackSid
in interface TrackPublication
public VideoTrack getVideoTrack()
null
is
returned if the track is not subscribed to.getVideoTrack
in interface VideoTrackPublication
LocalVideoTrackPublication
,
RemoteVideoTrackPublication
public String getTrackName()
getTrackName
in interface TrackPublication
public boolean isTrackEnabled()
isTrackEnabled
in interface TrackPublication
public boolean isTrackSubscribed()
LocalParticipant
.public TrackPriority getPublishPriority()
TrackPriority
set by the publisher for the corresponding RemoteVideoTrack
. Returns TrackPriority.STANDARD
if no priority was specified by the
publisher.public RemoteVideoTrack getRemoteVideoTrack()
null
is returned if the track is
not subscribed to.5.13.0