public abstract class VideoTrack extends Object implements Track
Modifier and Type | Method and Description |
---|---|
void |
addRenderer(VideoRenderer videoRenderer)
Add a video renderer to get video from the video track.
|
String |
getName()
Returns the video track name.
|
List<VideoRenderer> |
getRenderers()
The list of renderers receiving video from this video track.
|
boolean |
isEnabled()
Check if this video track is enabled.
|
void |
removeRenderer(VideoRenderer videoRenderer)
Remove a video renderer to stop receiving video from the video track.
|
public void addRenderer(VideoRenderer videoRenderer)
videoRenderer
- video renderer that receives video.public void removeRenderer(VideoRenderer videoRenderer)
videoRenderer
- the video renderer that should no longer receives video.public List<VideoRenderer> getRenderers()
public boolean isEnabled()
5.13.0