Rate this page:

AudioParams

Audio constraints. Audio device will be chosen according to these settings.
Settings are specified via AudioDeviceManager.setDefaultAudioSettings and AudioDeviceManager.setCallAudioSettings.

Props

autoGainControl

Copy URL
autoGainControl: 

boolean

If this value is a true or false, the user agent will attempt to obtain media with automatic gain control enabled or disabled as specified, if possible.

echoCancellation

Copy URL
echoCancellation: 

boolean

Should participant's echo be cancelled or not? If it's true, echo is cancelled; it's true by default.

inputId

Copy URL
inputId: 

string

Unique ID of microphone. It can be received via the AudioDeviceManager.getInputDevices method.

noiseSuppression

Copy URL
noiseSuppression: 

boolean

If it's true, background noise is suppressed. It's true by default.

outputId

Copy URL
outputId: 

string

Unique ID of a sound card/processor. It can be received via the AudioDeviceManager.getOutputDevices method.

strict

Copy URL
strict: 

boolean

If it's true, all audio settings must suit each other strictly; the incorrect settings will cause an error. If it's false, the incorrect values will be changed to the best appropriate values. It's false by default.