voice-subsystem-keeper

Coordinates DiscordPHP voice protocol including opcodes, encryption, and packet handling.

1.1k|250|Updated Aug 12, 2015
One-click install
npx skills add https://github.com/discord-php/DiscordPHP --skill voice-subsystem-keeper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: voice-subsystem-keeper
Source: https://github.com/discord-php/DiscordPHP/tree/main/.agents/skills/voice-subsystem-keeper
Command: npx skills add https://github.com/discord-php/DiscordPHP --skill voice-subsystem-keeper

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers manage and integrate DiscordPHP's voice subsystem, including handling voice gateway opcodes, encryption, and packet logic, without leaking the boundaries into audio I/O.

Core Features & Use Cases

  • Understand and maintain the voice protocol boundary across src/Discord/Voice/*, voice encryption, and gateway interactions.
  • Use when implementing or modifying joinVoiceChannel, voice state updates, or packet handling to ensure correct handshake sequencing and secure audio transmission.
  • Provide clear, example-driven guidance for debugging and extending the voice subsystem.

Quick Start

Identify and review the Voice/* code paths to verify protocol logic is isolated from audio I/O and that joinVoiceChannel wiring is correctly implemented.

Frequently Asked Questions about voice-subsystem-keeper

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I isolate DiscordPHP voice protocol logic from audio I/O?

To isolate DiscordPHP voice protocol logic, review the src/Discord/Voice/* code paths to verify protocol opcodes and encryption are separated from audio I/O, ensuring clear boundaries and maintainable subsystem integration.

How does DiscordPHP handle voice gateway opcodes and encryption?

DiscordPHP handles voice gateway opcodes by coordinating protocol sequencing and encryption within the voice subsystem, ensuring secure audio packet transmission and correct handshake sequencing across voice state updates and server interactions.

What is the correct handshake sequencing for joinVoiceChannel in Discord.php?

Correct handshake sequencing for joinVoiceChannel involves proper coordination of voice state updates and voice server interactions, validating packet handling to ensure secure audio transmission without leaking protocol boundaries into audio I/O.

Why are my DiscordPHP voice packets failing to transmit securely?

DiscordPHP voice packets may fail to transmit securely if voice encryption and gateway opcode handling are misconfigured, requiring validation of packet logic and handshake sequencing within the src/Discord/Voice/* subsystem.

Can I extend the DiscordPHP voice subsystem for custom packet handling?

You can extend the DiscordPHP voice subsystem for custom packet handling by modifying the voice protocol logic while maintaining strict separation from audio I/O, applying strong validation and error handling to voice server interactions.