livekit icon indicating copy to clipboard operation
livekit copied to clipboard

Participant pair can not be selected

Open arnasledev opened this issue 1 year ago • 2 comments

Describe the bug While trying to establish a connection between two participants, one failed—and it always fails when this client tries to connect to a video session when other participants are already connected.

If this client connects first, then everything seems to be fine all the time. I assume the bug occurs only when other clients are connected.

Server

  • Version: v1.5.2
  • Environment: Self-managed Kubernetes v1.28.4
  • 2x Livekit-server instances with Redis Sentinel

Client

  • SDK: js/ts
  • Version: 2.0.3

To Reproduce Steps to reproduce the behavior:

  1. client with chrome joins the meeting
  2. 2nd client tries to join with firefox
  3. 1st client sees that 2nd client came in to the meeting but no tracks are published, while 2nd client is still trying to connect
  4. 2nd client gets error and is disconnected from the video session

Expected behavior Clients should be connected all the time

Logs console-export.txt Logs from our Loki - livekit server logs with this roomID filtered Explore-logs-2024-03-20 14_03_02.json

image

Additional context Clients who faced the issue used: 1st client: edge with windows (don't know anything else) 2nd client: Firefox Version 123.0 (64-bit) on macOS Sonoma Version 14.2.1 (23C71)

arnasledev avatar Mar 20 '24 12:03 arnasledev

@arnasledev are you able to reproduce with https://meet.livekit.io ?

davidzhao avatar Apr 01 '24 17:04 davidzhao

Yes and no simultaneously - we tried the same and got the same result; I saw participant B as connected, but without the tracks, and after some time (like the 30s), he came alive. Adding logs from the Participant B's perspective

console-export-2024-4-2_5-23-9.txt

arnasledev avatar Apr 02 '24 08:04 arnasledev