public class RemoteVideoTrack extends VideoTrack
Modifier and Type | Method and Description |
---|---|
TrackPriority |
getPriority()
Get the subscriber's
TrackPriority for this RemoteVideoTrack . |
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 . |
addRenderer, getName, getRenderers, isEnabled, removeRenderer
public String getSid()
Room
.public boolean isSwitchedOff()
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(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.5.13.0