public class LocalVideoTrack extends VideoTrack
VideoCapturer.| Modifier and Type | Method and Description |
|---|---|
void |
enable(boolean enabled)
Sets the state of the local video track.
|
VideoCapturer |
getVideoCapturer()
Retrieves the
VideoCapturer associated with this video track. |
VideoConstraints |
getVideoConstraints()
Retrieves the video constraints associated with this track.
|
boolean |
isEnabled()
Check if local video track is enabled.
|
addRenderer, getRenderers, getTrackId, removeRendererpublic VideoCapturer getVideoCapturer()
VideoCapturer associated with this video track.public VideoConstraints getVideoConstraints()
If you do not provide any video constraints, the default video constraints are set to a maximum video dimension size of 640x480 at a frame rate of 30 frames per second.
public boolean isEnabled()
isEnabled in class VideoTrackpublic void enable(boolean enabled)
enabled - the desired state of the local video track.