public class VideoTrack extends MediaStreamTrack
MediaStreamTrack.MediaType, MediaStreamTrack.State
AUDIO_TRACK_KIND, VIDEO_TRACK_KIND
Constructor and Description |
---|
VideoTrack(long nativeTrack) |
Modifier and Type | Method and Description |
---|---|
void |
addSink(VideoSink sink)
Adds a VideoSink to the track.
|
void |
dispose() |
void |
removeSink(VideoSink sink)
Removes a VideoSink from the track.
|
enabled, id, kind, setEnabled, state
public void addSink(VideoSink sink)
public void removeSink(VideoSink sink)
public void dispose()
dispose
in class MediaStreamTrack
6.0.0