Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[bug] Echo canceling doesn't work after moment of silence during the call

Open
#456 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
dart, flutter

Research direction

Start with the example app and reproduce the issue using two clients, following the steps in the report; check whether echo cancellation stops after about 30 seconds of silence and returns after muting and unmuting Client A. Then trace the audio-processing and echo-cancellation path used by the app. Done means echo cancellation remains effective after silence on the reported Windows and macOS platforms.

Written by the indexing model from the issue text.

Description

Describe the bug
Tested on windows and macos.
Echo canceling works perfectly fine until a moment of silence (random length). Then there is no echo canceling at all. Muting/unmuting fixes it until the next "silent" moment.

To Reproduce
Use 2 clients with example app.

Client A will be the echo "producer" - you have to use speakers and a microphone very close to it.
Client B will be the client that will hear his own echo. Best to use headphones with microphone here. Use (wear) this setup during this test.

  1. Connect them both to the same room with mic enabled.
  2. Use Client B headphones and mic - no echo at all - perfect sound, you should not hear yourself.
  3. Wait a longer moment in silence (30s)
  4. Try to do the same as in 2. - you will hear yourself in the headphones.
  5. mute Client A.
  6. Unmute Client A
  7. Do 2. again. You will not hear yourself.

Expected behavior
number 4. Will produce the same result as 2.

Platform information

  • Flutter version: 3.16.8
  • Plugin version: 1.5.6
  • Flutter target OS: Windows/Mac
  • Flutter target OS version: win11, macos 14.2.1
  • Flutter console log: nothing suspicious here
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from livekit/client-sdk-flutter

All issues in livekit/client-sdk-flutter

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.