Skip to content

DSharpPlus.Voice#2404

Open
akiraveliara wants to merge 127 commits into
masterfrom
voice-rewrite
Open

DSharpPlus.Voice#2404
akiraveliara wants to merge 127 commits into
masterfrom
voice-rewrite

Conversation

@akiraveliara

@akiraveliara akiraveliara commented Dec 19, 2025

Copy link
Copy Markdown
Member

the initial pull request for DSharpPlus.Voice.

closes #768
closes #2385

todo:

  • receive
  • audio packet queuing for sending
  • reconnecting/resuming
  • rewire encoding to take advantage of opus' 24-bit and float support instead of (not very costly, but absolutely unreadable) normalization to 16-bit
  • user interface for sending/receiving audio
  • use a more sophisticated mechanism for audio enqueuing than Channel
  • reduce memory management overhead
  • handle RTCP packets
  • correctly track and send RTCP information
  • docs
  • metrics
  • handle channel moves
  • allow ingesting ogg/opus files directly. this would probably be good to have in the initial PR so that users updating immediately get the most efficient behaviour for ogg/opus files

open questions:

  • is it relevant that if we don't receive a user's SSRC in time, we can't decrypt their audio? do we have to buffer those frames?

akiraveliara and others added 30 commits June 6, 2025 18:43
git-subtree-dir: lib/libaerith/inc/dave
git-subtree-split: 6e5ffbc1cb4eef6be96e8115c4626be598b7e501
still missing some methods, but
also makes the c++ nicer to interface with
and also fully delete vnext, not sure why it was still there
voicenext used the sodium status code as a length lmao
…tService. Changed TransportService to use ArrayPoolBufferWriter instead of MemoryStream.
…rt-service

Initial commit for transport service.
@akiraveliara akiraveliara marked this pull request as ready for review June 6, 2026 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No audio output from the bot Add ability to send opus data through with Voice

3 participants