Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]Echo Issue on Specific Android 14 Devices Using LiveKit #678

Open
yuemenglong opened this issue Jan 3, 2025 · 2 comments
Open

[bug]Echo Issue on Specific Android 14 Devices Using LiveKit #678

yuemenglong opened this issue Jan 3, 2025 · 2 comments

Comments

@yuemenglong
Copy link

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!

@cloudwebrtc
Copy link
Contributor

It sounds like the system audio mode has been changed when calling the livekit sdk

@fpasalioglu
Copy link

I have similar problems with some devices;
When someone using a Samsung A70 device turns on their own microphone while someone else in the room has their microphone turned on, there is an echo. It can be said that the system audio mode has been changed.

For people using Redmi Note 10 Pro, Redmi Note 9 Pro, Poco X3 Pro devices, if there is no one else in the room with their microphone turned on, the sound of that person reaches the audience at a low volume. If someone in the room turns on the microphone, the voices of those using these devices start to be heard normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants