AndroidAudioRecordingSession
Android implementation of BaseAudioRecordingSession.
Emulator note: Recordings made through the Android emulator's QEMU audio bridge can sound noisy or grainy because the bridge resamples the host microphone signal (see GitHub issue #1). For best emulator quality:
request a format that matches the host (
AudioQuality.High= 48 kHz / Int16 / mono / interleaved is the safest default), andlaunch the AVD with
--audio-backend coreaudio(macOS) or--audio-backend pulse(Linux) so the bridge bypasses extra resampling.
Real production audio quality should always be validated on a physical device.
Constructors
Properties
Functions
Suspends until audio captured before stop has been delivered into audioFlow. Some platforms hand over their last buffer shortly after stop returns (e.g. a Web Audio worklet); Recorder.getRecording waits on this so recordings are not cut short. No-op by default.