livekit / client-sdk-flutter

Flutter Client SDK for LiveKit
https://docs.livekit.io
Apache License 2.0
249 stars 121 forks source link

[bug] Weird noise when user joins a call or unmutes himself for ~2sec (white noise, humm) #455

Open obiwanzenobi opened 8 months ago

obiwanzenobi commented 8 months ago

Describe the bug Right after joining the call or after unmuting there is a weird noise from user input for first the 2 seconds after that.

Server

Client

To Reproduce

  1. One client connects to a room
  2. second client connects to a room
  3. first client hears noise

Expected behavior No noise after user joins or unmutes.

obiwanzenobi commented 8 months ago

Confirmed with example, windows <-> macos. Happens only if windows joins/unmutes. For some reason no such problems on macos client.

davidzhao commented 8 months ago

@obiwanzenobi are you able to reproduce this with https://meet.livekit.io (which uses the JS SDK)?

I'm trying to understand if this is specific to the flutter SDK, or if it's something that is observed across platforms.

obiwanzenobi commented 8 months ago

@davidzhao - no such problems on meet.livekit.io, looks like its only on windows

kamilkarp commented 7 months ago

Seems that it also happens when both users are connected and windows one changes audio input/output. After the change, second user will hear this white noise for 1-2 sec.

cloudwebrtc commented 7 months ago

Seems that it also happens when both users are connected and windows one changes audio input/output. After the change, second user will hear this white noise for 1-2 sec.

Ah, this issue has been reproduced. Especially when switching from a microphone to a virtual input device.