Skip to content

Refactor voice receiving#283

Draft
KubaZ2 wants to merge 9 commits intoalphafrom
feature/voice-receive-handlers
Draft

Refactor voice receiving#283
KubaZ2 wants to merge 9 commits intoalphafrom
feature/voice-receive-handlers

Conversation

@KubaZ2
Copy link
Member

@KubaZ2 KubaZ2 commented Feb 24, 2026

No description provided.

@github-actions
Copy link

The documentation preview is available at https://preview.netcord.dev/283.

- Updated VoiceReceiveEventArgs to include a canCorrectLoss flag for better loss management.
- Modified OpusDecoder methods to accept a decodeFec parameter for handling forward error correction.
- Adjusted OpusDecodeStream to utilize the new OpusDecoder methods.
- Enhanced VoiceClient to invoke events with loss correction information.
- Refactored VoiceReceiveData to use flags for packet status, including canCorrectLoss.
- Updated BufferedVoiceReceiveHandlerTests to validate new loss correction behavior.
- Added tests for canCorrectLoss scenarios to ensure proper handling of lost packets.
- Adjusted VoiceCommands to utilize updated decoding logic for handling voice frames.
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