[bug] noise cancellation not activated on external headset
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- flutter
- Domain
- audio-video-rtc
Research direction
Start by comparing the referenced client-sdk-flutter commit with the dart-webrtc commit mentioned in the issue, then trace how AudioCaptureOptions handles an external headset deviceId. Reproduce by connecting a headset, passing its deviceId to AudioCaptureOptions, and starting a call; done means noise cancellation remains active.
Written by the indexing model from the issue text.
Description
Describe the bug
When using an external headset, noise cancellation is deactivated.
I did some digging. Is it possible that https://github.com/livekit/client-sdk-flutter/commit/a8ba441800a405ec97cd9aadf767b41e8831d0f7 can be reverted now that https://github.com/flutter-webrtc/dart-webrtc/commit/dc362d57964519efe11a3f27e920d76461ceb819 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
- Dominant language
- Dart
- Stars
- 421
- Forks
- 260
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 11
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from livekit/client-sdk-flutter
-
`jwtPayload.roomConfiguration` returns null fields for tokens from LiveKit server SDKsPossibly taken @RaphaelFakhri claimed this 2 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
livekit/client-sdk-flutter#1243 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 57/100
livekit/client-sdk-flutter#1245 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
livekit/client-sdk-flutter#1227 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
livekit/client-sdk-flutter#1221 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
livekit/client-sdk-flutter#1219 · 1 reaction ·
Maintainers usually reply within 1 day
All issues in livekit/client-sdk-flutter
Similar issues
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
0niel/university-app#617 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
linagora/tmail-flutter#5010 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 65/100
chriskelly/wish-together#36 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AppFlowy-IO/AppFlowy#9075 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day