Fixing OBS Audio Sync with a Browser-Based Offset Measurement

Fix OBS audio sync issues caused by webcam video delay. Use the 5-clap browser test to measure your exact ms offset and paste it into OBS.

ZERO UPLOAD · ALL LOCAL
  1. Click "Enable Camera & Mic" and allow both permissions in the browser prompt — no video or audio is uploaded.
  2. Select your webcam in the video input dropdown and your microphone in the audio input dropdown.
  3. Click "Start Test." Position yourself so your hands are visible in the camera preview.
  4. Clap sharply once in front of the camera. Wait 2–3 seconds between claps.
  5. Repeat for a total of 5 claps. The tool averages the five offset measurements.
  6. Copy the displayed OBS Audio Offset value and paste it into OBS under Audio > Advanced Audio Properties > Sync Offset (ms).

What to look for

  • -20000 ms to +20000 ms
  • delays that audio source (compensates for audio arriving before video)
  • shifts audio earlier relative to the mix
  • under 2 minutes with the 5-clap test

OBS applies Sync Offset per audio source in Advanced Audio Properties, converting the entered millisecond value to nanoseconds internally.

Camera and microphone access is required. Access is only used for local analysis — no video or audio is transmitted.

Requesting access…

CLAPS DETECTED   0 / 5

Run 1
Run 2
Run 3
Run 4
Run 5
OBS Audio Offset

OBS Audio Sync Fix: Measure and Correct Webcam Lip-Sync Offset

The fastest OBS audio sync fix is to measure the actual timing gap instead of guessing. OBS audio sync problems have one root cause: the video and audio paths take different amounts of time. Video from a USB webcam travels through the camera's ISP, a USB host controller, and a browser or OBS video decoder before landing in the timeline. Audio from a USB microphone follows a shorter path through the audio class driver and OBS audio stack. The difference between these two path lengths is the offset you measure and correct.1

Before adjusting any settings in OBS, measure the actual offset with the 5-clap test on this page. Getting a measured number eliminates the guesswork of trial-and-error OBS adjustments. The browser test uses the camera and microphone inputs you choose through getUserMedia, which prompts for permission before the page can receive media tracks.2 Typical USB webcam setups often show audio arriving before video, but the exact value changes by machine, driver, and USB topology.3 Once you have the measured value, entering it in OBS's Sync Offset field takes under 30 seconds.

How to measure the offset before touching OBS

Run the 5-clap test on this page with your actual streaming microphone and webcam selected as the inputs. Each clap generates one timestamp pair. After five pairs the tool displays an average offset with a direction label and a pre-calculated OBS Audio Offset value. Write down or copy that value before opening OBS; the measurement disappears when you navigate away from the page.

For the most accurate reading, run the test with OBS closed. When OBS is open and capturing the same camera, it competes with the browser for the video feed, which can add jitter to individual frame timestamps and inflate the spread across your five clap readings. Measure in the browser alone, then open OBS and apply the value.

The most accurate measurement comes from running the five-clap test with OBS closed. When OBS has your webcam open as a video source, it shares the camera hardware with the browser, adding scheduling overhead to the video frame delivery. The browser must negotiate frame access with OBS on every capture cycle, which increases per-frame variance and widens the spread across your five clap readings. Close OBS, run the browser test, record the value, then open OBS and enter the correction.

Matching OBS source and microphone pairing

Make sure the OBS value you measured corresponds to the same webcam and microphone source you use in the scene. If your scene has multiple microphones, the Sync Offset column applies to one source at a time. Enter the value on the microphone row that feeds your stream, not on desktop audio, game capture audio, or a secondary mic. Taking an extra moment to verify the source name in the browser dropdown matches the OBS source name prevents the common mistake of correcting the wrong audio path and wondering why the sync still looks off.

If your OBS setup has both a webcam audio source and a desktop audio source, the Sync Offset column is per-row, not per-scene. Choosing the desktop audio row by mistake shifts only the system sound, leaving the mic path that users actually hear unchanged. Matching the browser dropdown label to the OBS source name is the quickest way to avoid that mistake.

Entering the offset in OBS Studio

In OBS Studio, open the Edit menu and select Advanced Audio Properties. The table lists every audio source in your current scene collection. Find your microphone source in the list and click the Sync Offset (ms) column cell for that row. Enter the OBS Audio Offset value this tool displayed, then press Tab or click another cell to confirm the value is accepted before closing the dialog.4

OBS implements that field as a millisecond sync offset for each audio source, with the source file showing a numeric input range from -20000 ms to 20000 ms and converting the entered value to nanoseconds before applying it.5 A positive value delays that audio source, which is the usual correction when audio arrives before video. A negative value lets OBS use buffered audio to move the source earlier relative to the rest of the mix, which is useful when video arrives before audio.4

After entering the value, close Advanced Audio Properties and record a 10-second test clip. Play back the clip and watch whether your clap sound aligns with visible hand impact in the footage. If the alignment looks correct in the test clip but your live stream still shows desync, check whether OBS is applying the offset to the recording output but not the streaming output, since OBS maintains separate output paths that can have different sync states.

Confirming the saved OBS offset

After entering the OBS Audio Offset value, verify it saved correctly by closing Advanced Audio Properties and reopening it. OBS saves the scene collection when that dialog closes, but confirming the value on reopen protects you from a silent entry mistake.6 If the field shows the correct value on reopening, the correction is active. Record a 10-second test clip, play it back, and clap once visibly and audibly in the clip to check alignment.

When to re-measure instead of reusing an old value

Your OBS sync offset is not permanent. Re-measure whenever you add or remove a USB device that shares the webcam's host controller, because USB bus load changes video frame timing.3 Driver updates from Logitech, Elgato, or your USB chipset vendor can also shift the pipeline latency, so verify the old value after any driver or firmware update.

Consequently, the safest workflow is to measure at the start of each streaming session rather than relying on a value from a previous session. The 5-clap test takes under two minutes and gives you confidence that your stream will be in sync from the first minute of content, not just the first session after you set up the offset.

When to re-measure after USB or driver changes

Several events require re-measuring rather than reusing the saved OBS offset. Adding or removing any USB device that shares the webcam's host controller changes the bus load and shifts the video frame timing. Updating the webcam firmware through Logitech G HUB, Elgato Camera Hub, or Razer Synapse can shift the pipeline latency, so get a fresh measurement before you trust the saved value. Switching to a different USB port on the same machine also changes the offset if the new port is served by a different host controller. The five-clap test takes under two minutes; run it again whenever any of these changes occur to keep your OBS correction accurate.

When to use this

Confirm whether OBS needs a positive or negative Sync Offset when recordings show audible lip-sync gap, when a viewer reports your audio is slightly ahead of or behind your mouth movement, or when you have changed your streaming hardware setup and want to verify the sync before going live.

Examples

OBS recordings show audio arriving before lip movement

The test measures a positive offset. Enter that number in OBS Advanced Audio Properties > Sync Offset (ms) for your microphone. Record a test clip and verify the clap aligns visually.

Sync was correct last week but now streams show a new gap after a driver update

Re-run the 5-clap test after the driver update. Driver updates from USB chipset vendors or webcam manufacturers can shift pipeline latency. Get a new measurement rather than adjusting the old OBS value by eye.

Sources
  1. 1.

    OBS Project, "Source API Reference (obs_source_t)," docs.obsproject.com, accessed June 2026. https://docs.obsproject.com/reference-sources?highlight=source+properties

  2. 2.

    Mozilla Developer Network, "MediaDevices: getUserMedia() method," developer.mozilla.org, accessed June 2026. https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia

  3. 3.

    Microsoft, "USB bandwidth allocation," learn.microsoft.com, accessed June 2026. https://learn.microsoft.com/en-us/windows-hardware/drivers/usbcon/usb-bandwidth-allocation

  4. 4.

    OBS Project, "Audio/Video Sync problem," obsproject.com, February 2024. https://obsproject.com/forum/threads/audio-video-sync-problem.173571/

  5. 5.

    OBS Project, "adv-audio-control.cpp," github.com, accessed June 2026. https://github.com/obsproject/obs-studio/blob/cd70c2e037c23909d9e4f1b37b1df0303555f79d/UI/adv-audio-control.cpp

  6. 6.

    OBS Project, "window-basic-adv-audio.cpp," github.com, accessed June 2026. https://github.com/obsproject/obs-studio/blob/cd70c2e037c23909d9e4f1b37b1df0303555f79d/UI/window-basic-adv-audio.cpp

FAQ