Skip to content

Microphone audio source is capturing system audio #2049

@Abishek-project

Description

@Abishek-project

Using Microphone audio source (Attached the recording)

issue-demo.mp4

Normally, when the audio source is microphone, the recording should capture only microphone input.
However, on Pixel 6 (Android 15) the recorded output also contains YouTube audio (system audio) - maybe it's capturing the system audio via mic , (maybe AEC is not working)
But, when wired headphones are connected, the recording behaves correctly and only the microphone audio is captured.

Device Information:
Device: Pixel 6
Android Version: 15
Library: RootEncoder
Audio Source: Microphone

Steps to Reproduce

  1. Start recording using microphone audio source.
  2. Begin speaking.
  3. Move the app to the background.
  4. Play a video on YouTube.
  5. Continue speaking while YouTube audio is playing.
  6. Stop recording.

Actual Behavior
With Speaker:
Both microphone audio and YouTube audio are recorded.

Expected Behavior
Since the audio source is microphone, the recording should capture only microphone input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions