Skip to content

[bug] noise cancellation not activated on external headset #1079

@holzgeist

Description

@holzgeist

Describe the bug

When using an external headset, noise cancellation is deactivated.

I did some digging. Is it possible that a8ba441 can be reverted now that flutter-webrtc/dart-webrtc@dc362d5 has landed in dart-webrtc?

To Reproduce

Connect an external headset, get its deviceId, add it to AudioCaptureOptions, start a call

Expected behavior

Noise cancellation works

Platform information

Flutter Version [✓] Flutter (Channel stable, 3.41.9, on Arch Linux 6.18.28-1-lts, locale en_US.UTF-8) [47ms] • Flutter version 3.41.9 on channel stable at /home/tobias/src/3rdparty/flutter • Upstream repository https://github.com/flutter/flutter • Framework revision 00b0c91f06 (12 days ago), 2026-04-29 10:03:19 -0700 • Engine revision 42d3d75a56 • Dart version 3.11.5 • DevTools version 2.54.2 • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-native-assets, omit-legacy-version-file, enable-lldb-debugging, enable-uiscene-migration

[✓] Android toolchain - develop for Android devices (Android SDK version 37.0.0) [1,750ms]
• Android SDK at /home/tobias/Android/Sdk
• Emulator version 36.3.10.0 (build_id 14472402) (CL:N/A)
• Platform android-36, build-tools 37.0.0
• ANDROID_HOME = /home/tobias/Android/Sdk
• Java binary at: /opt/android-studio/jbr/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: flutter config --jdk-dir="path/to/jdk".
• Java version OpenJDK Runtime Environment (build 21.0.10+-14961533-b1163.108)
• All Android licenses accepted.

[✓] Chrome - develop for the web [9ms]
• Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop [373ms]
• clang version 22.1.5
• cmake version 4.3.2
• ninja version 1.13.2
• pkg-config version 2.5.1
• OpenGL core renderer: AMD Radeon 740M Graphics (radeonsi, phoenix, ACO, DRM 3.64, 6.18.28-1-lts)
• OpenGL core version: 4.6 (Core Profile) Mesa 26.0.6-arch1.1
• OpenGL core shading language version: 4.60
• OpenGL ES renderer: AMD Radeon 740M Graphics (radeonsi, phoenix, ACO, DRM 3.64, 6.18.28-1-lts)
• OpenGL ES version: OpenGL ES 3.2 Mesa 26.0.6-arch1.1
• OpenGL ES shading language version: OpenGL ES GLSL ES 3.20
• GL_EXT_framebuffer_blit: yes
• GL_EXT_texture_format_BGRA8888: yes

[✓] Connected device (2 available) [942ms]
• Linux (desktop) • linux • linux-x64 • Arch Linux 6.18.28-1-lts
• Chrome (web) • chrome • web-javascript • Chromium 148.0.7778.96 Arch Linux

[✓] Network resources [582ms]
• All expected network resources are available.

• No issues found!

  • Plugin version: 2.7.0
  • Flutter target OS: Web/Windows
  • Flutter target OS version: Chrome 147

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