Discord voice disconnects on PC after a game update
product-rca case · difficulty 4/5 · 20 minutes · software-tech · Discord
Prompt
You are a product manager at Discord. Voice channel disconnects increased 10% on PC, but mobile is fine. Find out why.
Context
The disconnect rate is the share of voice sessions that end with an unexpected disconnect. It is normally about 1.0% on PC and rose to about 1.1%. Mobile stayed at its normal level. Work the problem as a root-cause analysis: define the metric, structure hypotheses, slice the data, pin the cause, then fix and prevent.
Clarifying questions
- Specific OS update? Game integration?
- We have not seen an OS-wide pattern yet, and the team has not looked at games.
- When did it begin?
- The rise started on Tuesday and has persisted since, with no Discord client release in that period.
Recommendation
**Root cause:** An update to a popular game introduced an anti-cheat system that conflicts with Discord's audio hook, so voice sessions with the hook enabled disconnect more often. - **Evidence:** Only Windows sessions with Game X rose (1.8% against 1.0%), only for the patched client with the hook on (2.2%), and the dominant error is 'audio hook injection blocked', which began on Tuesday with the patch. - **Fix now:** Disable the audio hook for Game X by default through a remote config, and use the standard audio capture path while we work with the game's developer. - **Prevent:** Create a compatibility list with the top games, run automated tests for new game patches and alert on disconnect rate by foreground application. - **Track:** Disconnects by OS/Game overlay, Reconnect latency, Error code distribution
Risks
- Without the hook, game audio features (such as per-game volume or overlays) may degrade
- Other games using the same anti-cheat may hit the same issue
Next steps
- Ship the remote-config fix and contact the game's developer for a supported integration
- Track disconnects by foreground application, reconnect latency and error code distribution