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

Blank "active_speakers_changed" events are fired even when there are no changes #148

Open
avivace opened this issue Jan 18, 2024 · 1 comment

Comments

@avivace
Copy link

avivace commented Jan 18, 2024

I'm not sure if this is the right repository but it's happening with the Python RTC sdk (I don't know if it doesn't happen with other SDKs).

I have a very simple setup in which I connect to a room with the RTC library. I then start watching for active_speakers_changed room events with a simple:

@room.on("active_speakers_changed")
def on_active_speakers_changed(speakers: list[rtc.Participant]):
   [...]

When a speaker starts speaking I successfully receive the events but after this I usually get other events of the same time when really nothing as changed, in fact the reported list of partecipants who are active speakers doesn't change. Am I missing something? Are there other metadata sent over which can change and I'm not looking at?

@davidzhao
Copy link
Member

hi, could you print out a sequence of these events? it'd be helpful to see the pattern.

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

2 participants