AndroidRecorderConfiguration
Android specific configuration for recording.
Properties
audio_source- Defines the audio source.manage_bluetooth- Try to start a bluetooth audio connection to a headset (Bluetooth SCO).mute_audio- Whether to mute all audio streams like alarms, music, ring, etc.use_legacy- Whether to use the Android MediaRecorder.
Properties
audio_sourceclass-attributeinstance-attribute
audio_source: AndroidAudioSource = (
AndroidAudioSource.DEFAULT_SOURCE
)Defines the audio source.
An audio source defines both a default physical source of audio signal, and a recording configuration. Some effects are available or not depending on this source.
Most of the time, you should use
AndroidAudioSource.DEFAULT_SOURCE or
AndroidAudioSource.MIC.
manage_bluetoothclass-attributeinstance-attribute
manage_bluetooth: bool = TrueTry to start a bluetooth audio connection to a headset (Bluetooth SCO).
mute_audioclass-attributeinstance-attribute
mute_audio: bool = FalseWhether to mute all audio streams like alarms, music, ring, etc.
This is useful when you want to record audio without any background noise. The streams are restored to their previous state after recording is stopped and will stay at current state on pause/resume.
use_legacyclass-attributeinstance-attribute
use_legacy: bool = FalseWhether to use the Android MediaRecorder.
While advanced recorder (the default) unlocks additional features, the legacy recorder is stability oriented.