Rate this page:

AudioParams

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

Props

autoGainControl

Copy URL
autoGainControl: 

boolean

Optional. If specified, the user agent attempts to obtain media with automatic gain control enabled or disabled as specified.

echoCancellation

Copy URL
echoCancellation: 

boolean

Optional. Whether to cancel the participant's echo be cancelled. The default value is true.

inputId

Copy URL
inputId: 

string

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

noiseSuppression

Copy URL
noiseSuppression: 

boolean

Optional. Whether to supprress the background noise. The default value is true.

outputId

Copy URL
outputId: 

string

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

strict

Copy URL
strict: 

boolean

Optional. Whether all audio settings should suit each other strictly; the incorrect settings cause an error. If false, the incorrect values are changed to the best appropriate values. The default value is false.