Solved

Chat lag and audio delay issues

  • 5 April 2020
  • 5 replies
  • 643 views

All,

I've been assisting someone troubleshooting a few issues with Streamlabs OBS on Twitch and just cant seem to figure them out.

First: We were experiencing some issues with performance while playing certain games (but not with others) so at some suggestions I set the priority of Streamlabs OBS to High. However, it appears when it is set to anything above 'Normal' the chat will lag. As in, someone will type something and SLOBS will not get it immediately, and it could be delayed up to a few minutes. At normal this does not appear to happen.

Second: When playing certain games (Specifically Apex Legends, though to a lesser degree with other games) the longer it is played, the more the audio and video become unsynchronized, as in, they will speak, but the mouth wont be moving on cam until a few seconds later. If they dont play any games at all the audio and video remain in sync the whole night. I have already disabled audio timestamps everywhere in the audio settings. Are there any other suggestions?  I considered audio sync offset, but the problem is, it isn’t happening all of the time, so if I add an offset, it will be broken in the other direction so long as a game has not been played.

Settings are, as best I can tell, best practice for what I'm attempting to do. I use NVENC New for the encoder, 6000 bitrate, CBR, frame interval 2, etc etc etc.

System specs:

Ryzen 7 2700X

16 GB DDR4 3000 memory

1TB NVMe SSD

Geforce RTX 2070

Any suggestions people could offer would be great. Thanks

icon

Best answer by SecSeaBeast 24 May 2020, 00:28

Hey again,

Using timestamps can help in some cases where there is a gradual increasing delay on the audio so SLOBS can lock into the actual timestamps send with the audio from the device.

For further assistance, please join us on discord or submit a ticket.

Tickets: https://support.streamlabs.com/hc/en-us/requests/new

Thanks!

View original

This topic has been closed for comments

5 replies

Userlevel 5

Hey @Beradon,

Sorry to hear you are having issues! for the audio sync getting worse over time, you may want to try enabling device timestamps. To do this, click the gear next to the audio device having issues, go to properties, and check the box to “use device timestamps.” <https://prnt.sc/sadmnm>

Since you mentioned lag, I would suggest a few things that may help.
` Lock your FPS in-game to 60 or 120
` Right click Streamlabs OBS and choose to run it an administrator
` Try lowering your in-game settings to all low.
` Disable Game Bar <https://prnt.sc/s6f4rx> & Game Mode <https://prnt.sc/s6f3wm> in Windows
` Lowering your encoder settings or changing encoders in Streamlabs OBS (Settings > Output > Encoder)
` Look to see if there are any Windows updates available.
` Make an entirely new scene collection and be conservative when adding your sources.
` Please do a custom clean install of your graphics diver following these steps exactly. If you have GeForce Experience open that and download the latest driver. After downloading the driver choose a custom installation <https://prnt.sc/r9lhv8> After that select a clean install <https://prnt.sc/r9lj1i>.
` Grab a fresh installer from Streamlabs.com and reinstall the program.
` Reinstall your C++ redistributables <https://howto.streamlabs.com/streamlabs-obs-19/microsoft-visual-c-redistributable-2017-1684>
` Enabling Performance Mode* in Streamlabs OBS * (Right-click in the blank space, in the Editor Tab, next to the preview window) <https://prnt.sc/s6f2nw>
` Restart your computer


Guide for improving performance and frames: <https://howto.streamlabs.com/streamlabs-obs-19/dropped-frames-cpu-gpu-issues-and-improving-stream-quality-48>

I hope that helps!

What about this audio delay issue on a Mac running your Mac Beta?  I have not been able to find anything regarding “use device timestamp” on my system...

I appreciate the response, I’m sorry I didn’t see this sooner, it seemed like the post had gone mostly unnoticed.

Can you explain exactly what ‘use device timestamps’ does?  Literally every single walkthrough/troubleshooting/etc says to disable that unequivocally so when trying to search for it, all of the mentions of it are literally just to disable it.

As for much of the rest of it.  The computer is <2 months old, Windows is new, NVidia drivers are new, Streamlabs is new.

In game FPS is locked at 60 fps, Game mode/game bar were both recently disabled and made no difference.

As for a basic scene, it does it no matter the number of objects in a scene, even just the game and the camera it still happens.

Encoder is set to NVENC New (tried the older one too), although I against all recommendations I was going to hail mary it and try x264 despite the potential performance hit, I just didn’t want to try it before now because it seemed unwise.  Downscaling to 720p, lanczos, bitrate 5000 (was at 6000) and it made no difference.

I’ll try the performance mode, although from what I understand that disables the local preview which can make it challenging to ensure everything is working as expected on my side, although as a troubleshooting step I’m willing to try it.
 

 

 

btw the forum editor is awful. Every time I edit my message it adds about 10 more line returns and if I re-edit it to delete them, it just adds more of them.

Userlevel 5

Hey again,

Using timestamps can help in some cases where there is a gradual increasing delay on the audio so SLOBS can lock into the actual timestamps send with the audio from the device.

For further assistance, please join us on discord or submit a ticket.

Tickets: https://support.streamlabs.com/hc/en-us/requests/new

Thanks!