client-sdk-flutter
client-sdk-flutter copied to clipboard
[bug] Echo canceling doesn't work after moment of silence during the call
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.
- Connect them both to the same room with mic enabled.
- Use Client B headphones and mic - no echo at all - perfect sound, you should not hear yourself.
- Wait a longer moment in silence (30s)
- Try to do the same as in 2. - you will hear yourself in the headphones.
- mute Client A.
- Unmute Client A
- 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
different platforms, but possibly related to https://github.com/livekit/client-sdk-android/pull/363