public class Options
Represents a video track options.
Public Constructors | |
---|---|
Options()
Construct a new Options |
Public methods | |
---|---|
boolean |
audioEnabled()
Check whether the video track audio is enable. |
void |
audio(boolean audio)
Set audio enable or not. |
boolean |
videoEnabled()
Check whether the video track video is enable. |
void |
video(boolean video)
Set video enable or not. |
boolean |
isScreenCapture()
Check whether the video track is screen capture. |
void |
screen(boolean screen)
Set video track is screen capture or not. |
VideoDimensions |
getVideoDimensions()
Return video dimensions. |
void |
videoDimensions(VideoDimensions videoDimensions)
Set video dimensions of video track. |
Options()
Construct a new Options.
boolean audioEnabled()
Check whether the video track audio is enable.
void audio(boolean audio)
Set audio enable or not.
Parameters | |
---|---|
audio |
True is enable, false is disable. |
boolean videoEnabled()
Check whether the video track video is enable.
void video(boolean video)
Set video enable or not.
Parameters | |
---|---|
video |
True is enable, false is disable. |
boolean isScreenCapture()
Check whether the video track audio is screen capture.
void screen(boolean screen)
Set video track is screen capture or not.
Parameters | |
---|---|
audio |
True is screen capture, false is not screen capture. |
VideoDimensions getVideoDimensions()
Return video dimensions.
void videoDimensions(VideoDimensions videoDimensions)
Set video dimensions of video track.
Parameters | |
---|---|
videoDimensions |
The VideoDimensions instance. |