public class RemoteVideoTrackPublication extends Object implements VideoTrackPublication
RemoteVideoTrack
that has been shared
to a Room
.Modifier and Type | Method and Description |
---|---|
RemoteVideoTrack |
getRemoteVideoTrack()
Returns the published remote video track.
|
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
public String getTrackName()
getTrackName
in interface TrackPublication
public boolean isTrackEnabled()
isTrackEnabled
in interface TrackPublication
public boolean isTrackSubscribed()
LocalParticipant
.public RemoteVideoTrack getRemoteVideoTrack()
null
is returned if the track is not
subscribed to.