How to Configure Discord OpenH264 vs OpenSL Audio Engine
🔍 WiseChecker

How to Configure Discord OpenH264 vs OpenSL Audio Engine

Discord offers two advanced audio settings that affect how voice chat performs on Windows: the OpenH264 video codec and the OpenSL audio engine. Many users notice stuttering, echo, or high CPU usage during calls but do not know which setting to adjust. OpenH264 controls video encoding for screen sharing and camera streams, while OpenSL manages how Discord processes and outputs audio. This article explains what each setting does, how to configure them, and when to switch between them for better performance.

Key Takeaways: OpenH264 and OpenSL Audio Settings in Discord

  • User Settings > Voice & Video > Enable OpenH264 Video Codec: Toggles hardware-accelerated video encoding for screen sharing and camera streams.
  • User Settings > Voice & Video > OpenSL ES Audio Engine: Enables an alternative audio processing pipeline that reduces latency on certain hardware.
  • Restart Discord after changing: Both settings require a full restart of the Discord app to take effect.

What OpenH264 and OpenSL Do in Discord

OpenH264 is an open-source video codec developed by Cisco. Discord uses it to encode video frames before sending them over the network. When you share your screen or turn on your camera, Discord applies the OpenH264 codec to compress the video stream. This reduces bandwidth usage and improves playback smoothness on the receiving end. The setting is enabled by default in Discord on Windows.

OpenSL ES stands for Open Sound Library for Embedded Systems. It is an audio engine that processes sound input and output at a lower level than Discord’s default audio system. The OpenSL ES Audio Engine setting replaces the standard Windows audio session with a more direct pipeline. This can reduce audio latency and prevent crackling or popping sounds on some hardware configurations. The setting is disabled by default in Discord on Windows.

When to Change OpenH264

You should consider disabling OpenH264 if you experience high CPU usage during screen sharing, especially on older computers. Some users report that the OpenH264 codec causes video stuttering or green screen artifacts. Disabling it forces Discord to use a software-based encoder, which may be more compatible with certain graphics cards.

When to Enable OpenSL

Enable OpenSL ES if you hear audio glitches, echo, or delay in voice channels. This setting is particularly helpful for users with USB headsets or external microphones that use non-standard drivers. OpenSL can also reduce the chance of Discord muting your microphone randomly during calls.

Steps to Configure OpenH264 and OpenSL in Discord

Follow these steps to change both settings. You must restart Discord after each change for the new setting to apply.

  1. Open User Settings
    Click the gear icon next to your username at the bottom-left corner of the Discord window.
  2. Go to Voice & Video
    In the left sidebar, scroll down and click Voice & Video under the App Settings section.
  3. Locate the OpenH264 setting
    Scroll down to the Video Settings section. You will see a toggle labeled Enable OpenH264 Video Codec. Toggle it off to disable the codec or on to enable it.
  4. Locate the OpenSL setting
    Scroll further down to the Audio Subsystem section. You will see a toggle labeled OpenSL ES Audio Engine. Toggle it on to enable OpenSL or off to disable it.
  5. Restart Discord
    Close the Discord window completely. Open the app again. The changes take effect after the restart.

Common Issues After Changing OpenH264 or OpenSL

Screen Sharing Shows a Black Screen After Disabling OpenH264

If you disable OpenH264 and your screen share appears black to others, your graphics driver may not support the fallback software encoder. Re-enable OpenH264 and update your graphics driver to the latest version from the manufacturer’s website.

Audio Becomes Distorted After Enabling OpenSL

Some sound cards do not work well with the OpenSL engine. If you hear distortion, static, or robotic voice after enabling OpenSL, disable it again. Stick with the default audio subsystem instead.

Setting Changes Do Not Save

If the toggle reverts to its previous state after you restart Discord, your settings file may be corrupted. Reset Discord’s voice settings by going to User Settings > Voice & Video > Reset Voice Settings. Then configure OpenH264 and OpenSL again.

OpenH264 vs OpenSL: Comparison Table

Item OpenH264 Video Codec OpenSL ES Audio Engine
Purpose Encodes video for screen sharing and camera Processes audio input and output
Default state Enabled Disabled
Effect on performance Reduces CPU usage during video streams Reduces audio latency and glitches
Common problem when enabled Green screen artifacts on some GPUs Distortion on incompatible sound cards
Requires restart Yes Yes
Available on Windows Yes Yes

Both settings are independent of each other. You can enable OpenSL while keeping OpenH264 on, or disable both. The choice depends on your hardware and the specific issues you encounter during calls.

After configuring these settings, test your voice and video quality by joining a voice channel with a friend or using Discord’s built-in echo test. If problems persist, consider updating your audio drivers or switching to a different audio output device in User Settings > Voice & Video > Output Device. The OpenSL engine is a powerful tool for reducing latency, but it is not a cure-all for every audio problem. Always revert to default settings if the change worsens your experience.