Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

activeSpeakers array contains stale references if participant disconnects while speaking #2591

Open
dsinni opened this issue Mar 20, 2024 · 0 comments

Comments

@dsinni
Copy link

dsinni commented Mar 20, 2024

Is it possible that this issue (#1475) has returned? I'm not fully sure this is related, but we're on 2.0.4 (also tried 2.0.8 [latest]) and noticing that if a user disconnects while speaking, the speaking user is not cleared from Room.activeSpeakers array for any subscribers, resulting in stale reference.

This is also causing the Room.on(RoomEvent.ActiveSpeakersChanged, ...) to not work as expected.

No participant is speaking and there should be no participants in this array:

image

Newly joining users have a correct array without the stale reference until the above happens again.

Originally posted by @dsinni in #1475 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant