public class RemoteVideoTrack extends VideoTrack
Modifier and Type | Method and Description |
---|---|
TrackPriority |
getPriority()
Get the subscriber's
TrackPriority for this RemoteVideoTrack . |
java.lang.String |
getSid()
Returns the remote video track's server identifier.
|
boolean |
isSwitchedOff()
Return whether the track is switched off.
|
void |
setPriority(TrackPriority priority)
Set the subscriber's
TrackPriority for this RemoteVideoTrack . |
addSink, getName, getSinks, isEnabled, removeSink
@NonNull public java.lang.String getSid()
Room
.public boolean isSwitchedOff()
@Nullable public TrackPriority getPriority()
TrackPriority
for this RemoteVideoTrack
. The default
subscriber priority is null
, which indicates that the subscriber has not set a
priority for this RemoteVideoTrack
.public void setPriority(@Nullable TrackPriority priority)
TrackPriority
for this RemoteVideoTrack
. Providing
null
clears the subscriber's TrackPriority
for this RemoteVideoTrack
.
This method is a no-op if the RemoteVideoTrack
has been unsubscribed from.priority
- The priority to be set.6.0.0