Audio recorder configuration
AudioRecorderConfiguration
#
Recording configuration.
android_configuration
#
android_configuration: AndroidRecorderConfiguration = field(
default_factory=lambda: AndroidRecorderConfiguration()
)
Android specific configuration.
auto_gain
#
auto_gain: bool = False
The recorder will try to auto adjust recording volume in a limited range (if available on the device).
Recording volume may be lowered by using this.
cancel_echo
#
cancel_echo: bool = False
The recorder will try to reduce echo (if available on the device).
Recording volume may be lowered by using this.
channels
#
channels: int = 2
The numbers of channels for the recording.
1for mono2for stereo
Most platforms only accept at most 2 channels.
device
#
device: InputDevice | None = None
The device to be used for recording.
If None, default device will be selected.
ios_configuration
#
ios_configuration: IosRecorderConfiguration = field(
default_factory=lambda: IosRecorderConfiguration()
)
iOS specific configuration.