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 TrackPublicationpublic VideoTrack getVideoTrack()
null is
returned if the track is not subscribed to.getVideoTrack in interface VideoTrackPublicationpublic String getTrackName()
getTrackName in interface TrackPublicationpublic boolean isTrackEnabled()
isTrackEnabled in interface TrackPublicationpublic boolean isTrackSubscribed()
LocalParticipant.public RemoteVideoTrack getRemoteVideoTrack()
null is returned if the track is not
subscribed to.4.0.1