Skip to content

Conversation

psmarko
Copy link
Contributor

@psmarko psmarko commented Apr 21, 2025

At some point within the last few years, Discord began to send (or always has?) initial voice Speaking events instantly after the voice Ready event. The speaking events are used to build a voice SSRC to user snowflake map, but these initial Speaking events are currently missed. This PR attempts to listen to the events ASAP in order to build the map.

For concurrency reasons, I brought in kotlinx-collections-immutable. I have a vague recollection that we wanted to do this a while ago regardless?

Preferably, the voice api gets revamped because it feels very out of control, but that's for a different issue. This PR aims to fix just this issue without changing too much API.

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

Successfully merging this pull request may close these issues.

1 participant