obsproject / obs-studio

OBS Studio - Free and open source software for live streaming and screen recording
https://obsproject.com
GNU General Public License v2.0
60.58k stars 8.01k forks source link

[Linux] Big latency when monitoring auxiliary audio device #10548

Open zwieblum opened 7 months ago

zwieblum commented 7 months ago

Operating System Info

Other

Other OS

Devuan Linux Ceres, Kernel 6.7.9-amd64

OBS Studio Version

Other

OBS Studio Version (Other)

30.0.2+dfsg-3

OBS Studio Log URL

https://klepp.biz/2024-04-15 16-07-31.txt

OBS Studio Crash Log URL

No response

Expected Behavior

Turning ON monitoring and output and listen no latency.

Current Behavior

When I turn monitor and output ON in Advanced Audio Properties, the latency is OK at the begining but after 5 minutes, the monitor gives some big latency. Tested on pulseaudio.

Steps to Reproduce

  1. In audio mixer, right click on your audio input source and choose Advanced Audio Properties.
  2. Select Monitor and Output in Audio Montioring.
  3. Wait 5 minutes, sound loopback takes increasing latency permanently.

Anything else we should know?

It is the same issue as described her: https://github.com/obsproject/obs-studio/issues/3525

The solution posted here works: https://github.com/obsproject/obs-studio/issues/3525#issuecomment-920552735

kkartaltepe commented 7 months ago

Your log link is broken.

zwieblum commented 7 months ago

Ah, the nice space in the middle ... this should work: https://klepp.biz/2024-04-15%2016-07-31.txt

luizfilipe commented 5 months ago

I have the same issue, capturing video and audio from another device is increasing audio latency across time, I'm currently using Debian 12 Bookworm and capturing with PulseAudio.