AudioCaptureModeOptions

The AudioCaptureModeOptions model allows selecting the preferred audio capture mode and the preferred noise reduction level.

This model is available in SDK 3.7 and later.

Properties

mode

mode: AudioCaptureMode

The preferred audio mode that allows enabling and disabling audio processing.


modeOptions

Optional modeOptions: AudioCaptureModeStandardOptions & AudioCaptureModeMusicOptions

Additional audio options for the selected audio mode:

setCaptureMode({mode: "standard", modeOptions: {noiseReductionLevel: "low"}});
setCaptureMode({mode: "music", modeOptions: {echoCancellation: "off"}});
  • The Unprocessed mode does not offer any additional settings:
setCaptureMode({mode: "unprocessed"});