Repository navigation
Conversation
Contributor
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
voice_recv leaves RTP padding octets in decrypted_data; passing the padded payload to dave_session.decrypt() failed authentication, and write() dropped every speech packet. Qwen received digital silence, generated no response, and the provider closed the session after 180s with response_idle_timeout, which the bot reported as a key/region problem. - remove RTP padding before DAVE decryption in DiscordInput - translate provider error codes honestly; log the code, never the payload - pick the receiver's VoiceError over the sender's socket close in run() - default VOICE_IDLE_TIMEOUT_SECONDS 300 -> 150 so the bot leaves before the provider's 180s no-response limit - privacy-safe input counters + 15s voiced-frame stats log to diagnose remaining silent-drop paths live
…t stats All speech packets now fail inside dave_session.decrypt(), which splits the diagnosis into missing MLS keys vs malformed frames. Extend the 15s input stats line with the DAVE session snapshot (status/epoch/members, per-speaker davey decryption stats, outbound encryption stats) and capture the first decrypt exception text, so the next live run pinpoints the failing stage.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
QuillBot can now converse with people in Discord voice channels through Token Plan's
qwen-audio-3.0-realtime-plus./voice entrarjoins the caller's channel, streams incoming speech to Qwen, and plays spoken replies;/voice sairdisconnects and/voice statusreports the active session.The integration handles Discord DAVE decryption, PCM conversion, streaming playback, and interruptions. Each server gets a separate session with its configured personality. Sessions close on empty channels, disconnects, errors, inactivity, or the duration limit. A public notice explains audio processing before capture starts, and the bot does not persist audio or transcripts. Voice sessions do not access text history, memory, or tools.
Adds environment configuration, setup documentation, voice dependencies, and Opus support in Docker. Configure
TOKEN_PLAN_API_KEY(fallback:ANTHROPIC_AUTH_TOKEN), update dependencies or rebuild the image, and grant View Channel, Connect, Speak, and Send Messages in the voice channel. The default endpoint is Singapore and can be changed for the subscription's region.Validation:
ruff check .andgit diff --checkpass.