livekit icon indicating copy to clipboard operation
livekit copied to clipboard

Wrong connnectionQuality state

Open AurimasG12 opened this issue 1 year ago • 2 comments

Describe the bug As user, I want to see correct network indicators. Now as a local user, I can see my network indicator as having excellent connection quality, but others see three gray bars (unknown state). Sometimes state does not even change after mic/cam toggle to on and stays at unknown state.

image

Server

  • Version: [1.6.1]
  • Environment: [e.g. local dev, EKS] - meet.livekit.io meeting with their server.
  • any other information about your deployment setup

Client

  • SDK: [e.g. js, ios]
  • Version: [0.x.x]

To Reproduce Steps to reproduce the behavior:

  1. Join meet.livekit.io meeting with participant A (turn off camera and microphone)
  2. Join meet.livekit.io meeting with participant B (with camera on, mic on)
  3. Check network indicators

Expected behavior Indicators should appear with exact network quality

AurimasG12 avatar May 16 '24 03:05 AurimasG12

Comment with some of my findings: https://github.com/livekit/livekit/issues/2716#issuecomment-2112839311

lukasIO avatar May 23 '24 08:05 lukasIO

While not ideal, it does work like intended today. The reason is that the quality updates are scoped to participants that are subscribed to another participant’s track(s). So if your local participant A doesn’t subscribe to any tracks from participant B, then it will never receive quality updates for B. The local participant however receives quality updates for themselves.

lukasIO avatar Jul 22 '24 10:07 lukasIO