Skip to content

AndroidRecorderConfiguration

Android specific configuration for recording.

Properties

Properties#

audio_source class-attribute instance-attribute #

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_bluetooth class-attribute instance-attribute #

manage_bluetooth: bool = True

Try to start a bluetooth audio connection to a headset (Bluetooth SCO).

mute_audio class-attribute instance-attribute #

mute_audio: bool = False

Whether 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_legacy class-attribute instance-attribute #

use_legacy: bool = False

Whether to use the Android MediaRecorder.

While advanced recorder (the default) unlocks additionnal features, the legacy recorder is stability oriented.