When you see the “Failed to Decode Stream” error in Discord, your voice or video call stops working. The error usually appears when Discord cannot process the audio or video codec your hardware or software is using. This problem often happens after a Discord update, a Windows update, or when your GPU drivers are outdated. This article explains why the error occurs and provides a step-by-step codec fix that resolves it.
Key Takeaways: Fixing the “Failed to Decode Stream” Error
- User Settings > Voice & Video > Reset Voice Settings: Restores default codec and audio settings that often resolve the error.
- Windows Settings > System > Display > Graphics > Discord > GPU Preference: Forces Discord to use your dedicated GPU for hardware acceleration.
- Browser Settings > Hardware Acceleration (on/off): Toggling this in Discord or your browser can fix codec decoding failures.
Why Discord Fails to Decode Streams
The “Failed to Decode Stream” error is a codec incompatibility issue. Discord uses the Opus codec for voice and the H.264 or VP8/VP9 codecs for video. When your system cannot decode these codecs in real time, the stream fails. The root causes include:
- Outdated GPU drivers: Your GPU handles video decoding. Old drivers lack support for newer codec versions.
- Corrupted Discord cache: Damaged cached data prevents proper codec loading.
- Hardware acceleration conflicts: Discord’s hardware acceleration setting may conflict with your GPU or browser.
- Windows audio enhancements: Third-party audio processing can interfere with Discord’s codec pipeline.
The fix targets these specific causes. You do not need to reinstall Discord or your operating system.
Steps to Fix the “Failed to Decode Stream” Error
Follow these steps in order. Test Discord voice or video after each step to see if the error is gone.
Step 1: Reset Discord Voice Settings
- Open Discord User Settings
Click the gear icon next to your username at the bottom left of the Discord window. - Go to Voice & Video
In the left sidebar, click Voice & Video under App Settings. - Click Reset Voice Settings
Scroll down to the bottom of the page. Click the blue Reset Voice Settings button. Confirm in the pop-up. This restores all codec and audio settings to default.
Step 2: Clear Discord Cache
- Close Discord completely
Right-click the Discord icon in the system tray and select Quit Discord. Also end Discord processes in Task Manager if needed. - Open the cache folder
Press Windows + R, type%appdata%, and press Enter. Navigate to the discord folder. Inside, open the Cache, Code Cache, and GPUCache folders one by one. Delete all files inside each folder. Do not delete the folders themselves. - Restart Discord
Open Discord again. The cache rebuilds automatically.
Step 3: Toggle Hardware Acceleration in Discord
- Open Advanced Settings
Go to User Settings > Advanced (under App Settings). - Toggle Hardware Acceleration
Find Hardware Acceleration. If it is on, turn it off. If it is off, turn it on. Click Okay to restart Discord and apply the change.
Step 4: Update GPU Drivers
- Open Device Manager
Right-click the Start button and select Device Manager. - Update display adapter driver
Expand Display adapters. Right-click your GPU (NVIDIA, AMD, or Intel) and select Update driver. Choose Search automatically for drivers. Follow the prompts. - Restart your PC
After the driver update, restart your computer.
Step 5: Disable Windows Audio Enhancements
- Open Sound Settings
Right-click the speaker icon in the system tray and select Sound settings. - Go to Device Properties
Under Output, click your current output device. Then click Device properties. - Turn off Enhancements
Click Additional device properties. Go to the Enhancements tab. Check Disable all enhancements. Click Apply and OK. - Repeat for input device
Under Input, do the same for your microphone or headset.
Step 6: Force Discord to Use Dedicated GPU (Laptops Only)
- Open Windows Graphics Settings
Go to Settings > System > Display > Graphics. - Add Discord
Click Browse and navigate to%localappdata%\Discord\app-1.0.9003\Discord.exe. The version number may vary. Select the Discord executable and click Add. - Set GPU preference
Click Options next to Discord. Choose High performance (your dedicated GPU). Click Save.
If Discord Still Fails to Decode Streams
Error persists after all steps
If the error continues, open Discord as an administrator. Right-click the Discord shortcut and select Run as administrator. This gives Discord full access to hardware codecs. If that works, set Discord to always run as admin by right-clicking the shortcut, going to Properties > Compatibility, and checking Run this program as an administrator.
Error only in browser version
If you use Discord in a web browser, toggle hardware acceleration in the browser itself. In Chrome, go to Settings > System and toggle Use hardware acceleration when available. Restart Chrome. In Firefox, go to Settings > General > Performance and uncheck Use recommended performance settings, then uncheck Use hardware acceleration when available.
Error when streaming a game
If the error appears only when you stream your screen or a game, change the stream quality. In the voice channel, click the Screen icon and select Stream Quality. Lower the resolution to 720p and the frame rate to 30 FPS. This reduces the codec decoding load.
Discord Codec Options: Opus vs H.264 vs VP8
| Item | Opus (Voice) | H.264 (Video) | VP8 (Video) |
|---|---|---|---|
| Purpose | Voice chat audio | Screen sharing and video calls | Screen sharing and video calls |
| Bitrate range | 8 kbps to 510 kbps | 100 kbps to 8000 kbps | 100 kbps to 8000 kbps |
| Hardware acceleration | Not required | Required for smooth playback | Required for smooth playback |
| Common decode errors | Rare | Common with old GPU drivers | Common with old GPU drivers |
| Default in Discord | Always used | Preferred when available | Fallback |
Now you can fix the “Failed to Decode Stream” error by resetting voice settings, clearing the cache, and updating GPU drivers. Test with a short voice call or video stream after each step. If the error reappears later, run the Discord update check by pressing Ctrl+R inside the app. For persistent issues on a laptop, set Discord to use your dedicated GPU in Windows Graphics Settings.