Skip to content

Conversation

@josago97
Copy link
Contributor

Description

To determine if a user is speaking or has stopped speaking, you must check if you are receiving audio packets from that user. If some time passes without receiving packets, the user is considered to have stopped speaking. Discord, for its part, only sends a user's status when they send the first packet; from that point on, it does not explicitly send any additional information.

Changes

  • Update a user's status to "speaking" or "not speaking" based on the reception of audio packets.
  • Modify the "Speaking" packet transmission to send the ssrc and speaking fields as specified in the official documentation.
  • Remove unused byte arrays.

Related Issues

@Misha-133 Misha-133 merged commit 11a56bc into discord-net:dev Nov 28, 2025
2 checks passed
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.

2 participants