Skip to content

About

🎙️ Tune Discord Desktop’s jitter buffer for incoming voice with adaptive and manual controls. An experimental plugin for Vencord and Equicord.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

VoiceBuffer

Adaptive and manual buffering for incoming voice on Discord Desktop.
An experimental plugin for Vencord and Equicord.

Requirements · Install · Controls · Check the buffer

VoiceBuffer Quick Panel showing Adaptive mode, network statistics, and a 20 ms minimum buffer request

When voice packets arrive unevenly, some miss their playback deadline. VoiceBuffer asks Discord to wait a little longer so more of those packets can arrive in time. You trade some playback delay for a chance at fewer cuts. The adjustment affects the voice you hear in calls. Your microphone and screen-share playback are outside its scope.

🧰 Requirements

Start with Discord Desktop with Equicord or Vencord already installed. To use the terminal commands below, also install these tools and make sure your terminal can find them.

📦 Install

Equicord or Vencord with the regular installer

  1. Quit Discord Desktop. On Windows, use the Discord icon in the system tray to quit fully. Open Git Bash or PowerShell 7 in a folder where you want to keep the build.

  2. Copy one command, for the mod you already use, and press Enter. It builds a copy of your mod with VoiceBuffer included and opens the installer.

    Equicord

    git clone --depth 1 https://github.com/Equicord/Equicord.git Equicord-VoiceBuffer && cd Equicord-VoiceBuffer && git clone --depth 1 https://github.com/luizbizzio/voicebuffer.git src/userplugins/voicebuffer && pnpm install --frozen-lockfile && pnpm build && pnpm inject

    Vencord

    git clone --depth 1 https://github.com/Vendicated/Vencord.git Vencord-VoiceBuffer && cd Vencord-VoiceBuffer && git clone --depth 1 https://github.com/luizbizzio/voicebuffer.git src/userplugins/voicebuffer && pnpm install --frozen-lockfile && pnpm build && pnpm inject
  3. Select your Discord installation in the installer and click Install. Choose Discord Stable if you use the standard Discord app.

  4. Open Discord and enable VoiceBuffer from User Settings → Equicord or Vencord → Plugins. Join a voice call to see the VB button.

Equicord installer reference · Vencord installer reference

Shortcut for Equicord development builds

If you already have UserPluginInstaller enabled, paste https://github.com/luizbizzio/voicebuffer into a Discord message. Click Install Plugin, restart if prompted, then enable VoiceBuffer in Plugins. Equicord UserPluginInstaller guide

Already build Equicord or Vencord from source?

Run this inside the source folder that Discord already uses. Restart Discord after the build and enable VoiceBuffer in Plugins.

git clone https://github.com/luizbizzio/voicebuffer.git src/userplugins/voicebuffer && pnpm build

To update, run git -C src/userplugins/voicebuffer pull --ff-only && pnpm build and restart. To remove it, disable the plugin, delete its folder from src/userplugins, rebuild, and restart.

🎛️ Controls

Join a voice call and hover over VB beside Discord's voice controls. Use the panel to toggle VoiceBuffer or choose Auto or L1–L4. The gear opens the full settings, including Custom (Advanced).

Mode Discord jitter level Minimum delay requested
Auto / Adaptive Varies with network conditions. The default range is L1–L4. Follows the current level
L1 · Low Latency Fixed at L1 20–35 ms
L2 · Balanced Fixed at L2 35–60 ms
L3 · Stable Fixed at L3 50–90 ms
L4 · Maximum Stability Fixed at L4 65–120 ms
Custom (Advanced) Set by Custom Jitter Level A fixed 0–200 ms request set by Custom Min Buffer

Min Buffer* shows the requested floor. Discord can buffer more, and the measured value appears in the tooltip when available. Mode logic · Native buffer settings

VoiceBuffer plugin settings with Adaptive sensitivity, protection limits, packet loss signal, and Quick Panel enabled
Full settings with the Adaptive range set to L1–L6.

🧪 Check the buffer

In a call, open the plugin settings and click Show Advanced / Diagnostics → Start Verification. Keep the panel open while someone else speaks. Once incoming audio is detected, the test spends about 24 seconds alternating between 0 and 200 ms at L0. It reports the requested floor and any buffer measurements Discord exposes. Verification logic

To find out whether the audio improves, compare two calls with the same source audio and packet timing. For the baseline, restart Discord with VoiceBuffer disabled in the plugin list. For the second run, use Custom with Custom Jitter Level at 0, Postpone Decode off, and a floor such as 40 ms. Compare how much audio the decoder had to reconstruct and how much playback delay was added. A restart makes the baseline more reliable because simulated tests found that the plugin can miss a reset during shutdown. WebRTC receiver metrics

📌 Project status

Development is paused. VoiceBuffer built and passed type checking with Equicord 1.15.18.2 and Vencord 1.15.19. On Windows Discord Desktop 1.0.9269, static inspection traced the request to Discord's native receive buffer. The effect on audible cuts in real calls remains unverified. Serein and Discord's Project Phoenix desktop rewrite use different integrations.

Contribution and testing notes · GNU General Public License

About

🎙️ Tune Discord Desktop’s jitter buffer for incoming voice with adaptive and manual controls. An experimental plugin for Vencord and Equicord.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

4 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages