AudioRecorderConfiguration

Recording configuration for the AudioRecorder service.

Properties

  • **android_configuration**: AndroidRecorderConfiguration
  • * Android specific configuration. * Default: AndroidRecorderConfiguration()
  • **auto_gain**: bool
  • * Enables automatic adjustment of recording volume. * Default: False
  • **bit_rate**: Number
  • * Specifies the audio encoding bit rate in bits per second. * Default: 128000
  • **cancel_echo**: bool
  • * Enables echo cancellation if supported by the device. * Default: False
  • **channels**: int
  • * Defines the number of audio channels for recording. * 1 for mono, 2 for stereo. * Most platforms support up to 2 channels. * Default: 2
  • **device**: InputDevice | None
  • * Specifies the input device to use for recording. * If None, the system's default device is used. * Default: None
  • **encoder**: AudioEncoder
  • * Determines the requested output audio format. * Default: AudioEncoder.WAV
  • **ios_configuration**: IosRecorderConfiguration
  • * iOS specific configuration. * Default: IosRecorderConfiguration()
  • **sample_rate**: int
  • * Sets the audio sample rate in samples per second. * Default: 44100
  • **suppress_noise**: bool
  • * Enables noise suppression if supported by the device. * Default: False