[bug]Echo Issue on Specific Android 14 Devices Using LiveKit
Maintainers usually reply within 1 day
A pull request for this has already been merged.
- #742 by @cloudwebrtc — merged
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- audio-video-rtc, mobile
Research direction
Start by reviewing merged pull request #742, then compare the reported LiveKit call path with direct WebRTC calls using the stated client-sdk-flutter 2.2.6 and flutter-webrtc 0.11.7 versions. Reproduce on the reported Android 14 devices if available; done means LiveKit calls no longer cause the other party to hear echo, including in subsequent direct WebRTC calls.
Written by the indexing model from the issue text.
Description
Hello, thank you for your excellent open-source project!
I encountered an issue while using it: on certain devices, an echo occurs during communication. The problematic devices identified so far are OnePlus 11 and Redmi Note 13, both running Android 14.
The specific issue is as follows:
When the problematic devices communicate with other phones using LiveKit for voice calls, the other party hears an echo from the problematic devices. However, the problematic devices themselves sound normal (this occurs regardless of whether it’s audio-only or video, or whether speaker mode is enabled).
Our app also supports WebRTC direct calls (bypassing LiveKit). We use the WebRTC client library included in the LiveKit SDK. In this scenario, communication is normal on these devices.
An even stranger issue arises: if the problematic devices first use WebRTC direct calling (scenario 2), everything works fine. However, once they use LiveKit for communication, subsequent WebRTC direct calls also produce echoes. Killing the process on the problematic devices restores normal behavior for WebRTC direct calls, but killing the process on the other side does not resolve the issue.
The software versions in use are:
client-sdk-flutter: 2.2.6
flutter-webrtc (the WebRTC client library included with the LiveKit SDK): 0.11.7
I currently have no clue how to resolve this issue. Could you please help investigate? Thank you!
- 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 3 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
-
Needs Attention platform: android type: infrastructure umbrella
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
firebase/flutterfire#18832 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
from.page-issue
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
sass/dart-sass#2888 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
[a11y_assessments] Disabled CheckboxListTile shares mutable statePossibly taken @kevmoo claimed this 12 days ago. Opena: accessibility fyi-design p: material_ui package team-accessibility
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day