Skip to content

Android recordings have echo/noise compared to iOS #442

@mu7mmd

Description

@mu7mmd

Describe the bug
I noticed that audio recording works perfectly on iOS (clear sound, no echo).
But on Android devices, the recordings contain noticeable echo and background noise, when using:

await _recorderController.record(
  path: path,
);

I searched for solutions and tried using the recommended encoder/format:

await _recorderController.record(
  path: path,
  androidEncoder: AndroidEncoder.aac,
  androidOutputFormat: AndroidOutputFormat.mpeg4,
);

But the issue still persists.

To Reproduce
Steps to reproduce the behavior:

  1. Start recording with or without the above configuration.
  2. Record the same environment (quiet room) on both iOS and Android.
  3. Compare playback:
    • iOS: clear, no echo
    • Android: echo, noise present

Expected behavior
Recordings on Android should sound similar to iOS (clean, no echo).

Smartphone:

  • Device: Samsung s20 Ultra and others
  • OS: Android
  • Version 12 to 15

Additional context
Package version: 1.3.0
(Issue also present in earlier versions)
Flutter version: 3.35.1
(Issue also present in earlier versions)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions