AudioCaptureOptions
Defined in: client-sdk-js/src/track/options.ts:51
Options for capturing audio from a microphone device.
Properties
Section titled “Properties”autoGainControl?
Section titled “autoGainControl?”autoGainControl?: ConstrainBoolean;Defined in: client-sdk-js/src/track/options.ts:55
Specifies whether automatic gain control is preferred and/or required.
channelCount?
Section titled “channelCount?”channelCount?: ConstrainULong;Defined in: client-sdk-js/src/track/options.ts:61
The channel count or range of channel counts which are acceptable and/or required.
deviceId?
Section titled “deviceId?”deviceId?: ConstrainDOMString;Defined in: client-sdk-js/src/track/options.ts:67
A ConstrainDOMString specifying a device ID or an array of device IDs which are acceptable and/or required.
echoCancellation?
Section titled “echoCancellation?”echoCancellation?: ConstrainBoolean;Defined in: client-sdk-js/src/track/options.ts:72
Whether or not echo cancellation is preferred and/or required.
latency?
Section titled “latency?”latency?: ConstrainDouble;Defined in: client-sdk-js/src/track/options.ts:77
The latency or range of latencies which are acceptable and/or required.
noiseSuppression?
Section titled “noiseSuppression?”noiseSuppression?: ConstrainBoolean;Defined in: client-sdk-js/src/track/options.ts:82
Whether noise suppression is preferred and/or required.
sampleRate?
Section titled “sampleRate?”sampleRate?: ConstrainULong;Defined in: client-sdk-js/src/track/options.ts:98
The sample rate or range of sample rates which are acceptable and/or required.
sampleSize?
Section titled “sampleSize?”sampleSize?: ConstrainULong;Defined in: client-sdk-js/src/track/options.ts:104
The sample size or range of sample sizes which are acceptable and/or required.
voiceIsolation?
Section titled “voiceIsolation?”voiceIsolation?: ConstrainBoolean;Defined in: client-sdk-js/src/track/options.ts:92
Experimental
A stronger version of noiseSuppression; browser support is not
widespread yet. When set (and supported) the value for
noiseSuppression will be ignored.
https://w3c.github.io/mediacapture-extensions/#voiceisolation-constraint