Skip to content

refactor(voice): Rewrite Voice Internals & DAVE Support#2873

Draft
DA-344 wants to merge 74 commits intoPycord-Development:masterfrom
DA-344:feat/voice-rewrite-and-fixes
Draft

refactor(voice): Rewrite Voice Internals & DAVE Support#2873
DA-344 wants to merge 74 commits intoPycord-Development:masterfrom
DA-344:feat/voice-rewrite-and-fixes

Conversation

@DA-344
Copy link
Contributor

@DA-344 DA-344 commented Aug 21, 2025

Summary

Rewrites voice internals to have a cleaner, easier-to-maintain, voice implementation.

Adds support for DAVE connections.

Voice receive is currently broken

-> This code is partially inspired on discord.py's current voice implementation

Information

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.
  • I have updated the changelog to include these changes.

Related

Fixes #2833

@DA-344 DA-344 changed the title Voice internals rewrite to fix things fix(voice): Voice internals rewrite to fix things Aug 26, 2025
@DA-344
Copy link
Contributor Author

DA-344 commented Mar 3, 2026

once i manage to fix tests this pr will be ready for review.

@Paillat-dev
Copy link
Member

Nice, thank you a lot for the work !

@Paillat-dev
Copy link
Member

@DA-344 The fix for the tests is quite easy, just edit the pyproject.toml

[tool.tox.env_run_base]
description = "run unit tests"
commands = [["pytest", { replace = "posargs", default = ["tests"], extend = true }]]
dependency_groups = ["test"]
extras = ["voice"]

Should be enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: high High Priority voice Related to the voice chat feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Voice Rewrite Voice Related Bugs & Requests Bot can't connect to voice chat Opus Decode Errors

3 participants