Without actual log of a session hardly anything can be said.
Aside of that i had a terrible issue by myself (a hardly noticable change of sound, but it could be heard very clean due to an 1kHz test tone i made yesterday). So i found the ffmpeg aac encoder builtin to obs (obs 26.1.1 64-bit on win7) very buggy.
Yesterday evening i tried to install the CoreAudio-Encoder by Apple (i hated to install apple soft on a windows machine). But - tadaaaa - it helped! The sound (either recording or streaming) now is without any disturbing glitches but clear as input.
You can try for your own if that helps in your situation (without any guarantee):
Hey there! A friend of mine recently has issues with streaming with his PC. I analyzed the settings and already updated his amd chipset drivers, gpu drivers, ran obs as an administrator, changed sample rates of the audio settings, removed/reinstalled OBS and removed all user settings and then...
obsproject.com