@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="Object")
public interface MediaTrackSettings
| Modifier and Type | Interface and Description |
|---|---|
static interface |
MediaTrackSettings.Builder
The MediaTrackSettings dictionary is used to return the current values configured for each of a MediaStreamTrack's settings.
|
| Modifier and Type | Method and Description |
|---|---|
double |
aspectRatio()
The MediaTrackSettings dictionary's aspectRatio property is a double-precision floating-point number indicating the aspect ratio of the MediaStreamTrack as currently configured.
|
boolean |
autoGainControl()
The MediaTrackSettings dictionary's autoGainControl property is a Boolean value whose value indicates whether or not automatic gain control (AGC) is enabled on an audio track.
|
int |
channelCount()
The MediaTrackSettings dictionary's channelCount property is an integer indicating how many audio channel the MediaStreamTrack is currently configured to have.
|
static MediaTrackSettings.Builder |
create() |
java.lang.String |
cursor()
The MediaTrackSettings dictionary's cursor property indicates whether or not the cursor should be captured as part of the video track included in the MediaStream returned by getDisplayMedia().
|
java.lang.String |
deviceId()
The MediaTrackSettings dictionary's deviceId property is a DOMString which uniquely identifies the source for the corresponding MediaStreamTrack for the origin corresponding to the browsing session.
|
java.lang.String |
displaySurface()
The MediaTrackSettings dictionary's displaySurface property indicates the type of display surface being captured.
|
boolean |
echoCancellation()
The MediaTrackSettings dictionary's echoCancellation property is a Boolean value whose value indicates whether or not echo cancellation is enabled on an audio track.
|
java.lang.String |
facingMode()
The MediaTrackSettings dictionary's facingMode property is a DOMString indicating the direction in which the camera producing the video track represented by the MediaStreamTrack is currently facing.
|
double |
frameRate()
The MediaTrackSettings dictionary's frameRate property is a double-precision floating-point number indicating the frame rate, in frames per second, of the MediaStreamTrack as currently configured.
|
java.lang.String |
groupId()
The MediaTrackSettings dictionary's groupId property is a browsing-session unique DOMString which identifies the group of devices which includes the source for the MediaStreamTrack.
|
int |
height()
The MediaTrackSettings dictionary's height property is an integer indicating the number of pixels tall MediaStreamTrack is currently configured to be.
|
double |
latency()
The MediaTrackSettings dictionary's latency property is a double-precision floating-point number indicating the estimated latency (specified in seconds) of the MediaStreamTrack as currently configured.
|
boolean |
logicalSurface() |
boolean |
noiseSuppression()
The MediaTrackSettings dictionary's noiseSuppression property is a Boolean value whose value indicates whether or not noise suppression technology is enabled on an audio track.
|
java.lang.String |
resizeMode() |
boolean |
restrictOwnAudio() |
int |
sampleRate()
The MediaTrackSettings dictionary's sampleRate property is an integer indicating how many audio samples per second the MediaStreamTrack is currently configured for.
|
int |
sampleSize()
The MediaTrackSettings dictionary's sampleSize property is an integer indicating the linear sample size (in bits per sample) the MediaStreamTrack is currently configured for.
|
void |
setAspectRatio(double aspectRatio)
The MediaTrackSettings dictionary's aspectRatio property is a double-precision floating-point number indicating the aspect ratio of the MediaStreamTrack as currently configured.
|
void |
setAutoGainControl(boolean autoGainControl)
The MediaTrackSettings dictionary's autoGainControl property is a Boolean value whose value indicates whether or not automatic gain control (AGC) is enabled on an audio track.
|
void |
setChannelCount(int channelCount)
The MediaTrackSettings dictionary's channelCount property is an integer indicating how many audio channel the MediaStreamTrack is currently configured to have.
|
void |
setCursor(@JsNonNull java.lang.String cursor)
The MediaTrackSettings dictionary's cursor property indicates whether or not the cursor should be captured as part of the video track included in the MediaStream returned by getDisplayMedia().
|
void |
setDeviceId(@JsNonNull java.lang.String deviceId)
The MediaTrackSettings dictionary's deviceId property is a DOMString which uniquely identifies the source for the corresponding MediaStreamTrack for the origin corresponding to the browsing session.
|
void |
setDisplaySurface(@JsNonNull java.lang.String displaySurface)
The MediaTrackSettings dictionary's displaySurface property indicates the type of display surface being captured.
|
void |
setEchoCancellation(boolean echoCancellation)
The MediaTrackSettings dictionary's echoCancellation property is a Boolean value whose value indicates whether or not echo cancellation is enabled on an audio track.
|
void |
setFacingMode(@JsNonNull java.lang.String facingMode)
The MediaTrackSettings dictionary's facingMode property is a DOMString indicating the direction in which the camera producing the video track represented by the MediaStreamTrack is currently facing.
|
void |
setFrameRate(double frameRate)
The MediaTrackSettings dictionary's frameRate property is a double-precision floating-point number indicating the frame rate, in frames per second, of the MediaStreamTrack as currently configured.
|
void |
setGroupId(@JsNonNull java.lang.String groupId)
The MediaTrackSettings dictionary's groupId property is a browsing-session unique DOMString which identifies the group of devices which includes the source for the MediaStreamTrack.
|
void |
setHeight(int height)
The MediaTrackSettings dictionary's height property is an integer indicating the number of pixels tall MediaStreamTrack is currently configured to be.
|
void |
setLatency(double latency)
The MediaTrackSettings dictionary's latency property is a double-precision floating-point number indicating the estimated latency (specified in seconds) of the MediaStreamTrack as currently configured.
|
void |
setLogicalSurface(boolean logicalSurface) |
void |
setNoiseSuppression(boolean noiseSuppression)
The MediaTrackSettings dictionary's noiseSuppression property is a Boolean value whose value indicates whether or not noise suppression technology is enabled on an audio track.
|
void |
setResizeMode(@JsNonNull java.lang.String resizeMode) |
void |
setRestrictOwnAudio(boolean restrictOwnAudio) |
void |
setSampleRate(int sampleRate)
The MediaTrackSettings dictionary's sampleRate property is an integer indicating how many audio samples per second the MediaStreamTrack is currently configured for.
|
void |
setSampleSize(int sampleSize)
The MediaTrackSettings dictionary's sampleSize property is an integer indicating the linear sample size (in bits per sample) the MediaStreamTrack is currently configured for.
|
void |
setWidth(int width)
The MediaTrackSettings dictionary's width property is an integer indicating the number of pixels wide MediaStreamTrack is currently configured to be.
|
int |
width()
The MediaTrackSettings dictionary's width property is an integer indicating the number of pixels wide MediaStreamTrack is currently configured to be.
|
@JsOverlay @Nonnull static MediaTrackSettings.Builder create()
@JsProperty(name="aspectRatio") double aspectRatio()
@JsProperty void setAspectRatio(double aspectRatio)
@JsProperty(name="autoGainControl") boolean autoGainControl()
@JsProperty void setAutoGainControl(boolean autoGainControl)
@JsProperty(name="channelCount") int channelCount()
@JsProperty void setChannelCount(int channelCount)
@JsProperty(name="deviceId") java.lang.String deviceId()
@JsProperty void setDeviceId(@JsNonNull java.lang.String deviceId)
@JsProperty(name="echoCancellation") boolean echoCancellation()
@JsProperty void setEchoCancellation(boolean echoCancellation)
@JsProperty(name="facingMode") java.lang.String facingMode()
@JsProperty void setFacingMode(@JsNonNull java.lang.String facingMode)
@JsProperty(name="frameRate") double frameRate()
@JsProperty void setFrameRate(double frameRate)
@JsProperty(name="groupId") java.lang.String groupId()
@JsProperty void setGroupId(@JsNonNull java.lang.String groupId)
@JsProperty(name="height") int height()
@JsProperty void setHeight(int height)
@JsProperty(name="latency") double latency()
@JsProperty void setLatency(double latency)
@JsProperty(name="noiseSuppression") boolean noiseSuppression()
@JsProperty void setNoiseSuppression(boolean noiseSuppression)
@JsProperty(name="resizeMode") java.lang.String resizeMode()
@JsProperty void setResizeMode(@JsNonNull java.lang.String resizeMode)
@JsProperty(name="sampleRate") int sampleRate()
@JsProperty void setSampleRate(int sampleRate)
@JsProperty(name="sampleSize") int sampleSize()
@JsProperty void setSampleSize(int sampleSize)
@JsProperty(name="width") int width()
@JsProperty void setWidth(int width)
@JsProperty(name="cursor") java.lang.String cursor()
@JsProperty void setCursor(@JsNonNull java.lang.String cursor)
@JsProperty(name="displaySurface") java.lang.String displaySurface()
@JsProperty void setDisplaySurface(@JsNonNull java.lang.String displaySurface)
@JsProperty(name="logicalSurface") boolean logicalSurface()
@JsProperty void setLogicalSurface(boolean logicalSurface)
@JsProperty(name="restrictOwnAudio") boolean restrictOwnAudio()
@JsProperty void setRestrictOwnAudio(boolean restrictOwnAudio)