OBS frezzes on live stream

Hi, guys I'm having an issue with OBS when I do live streaming after 8 or 10 minutes the live streaming video start to freeze up like lagging every 8 or 10 minutes the only way to avoid it is to move the mouse cursor to avoid the lag if not I have to stop the live close the program and then re-open it but the issues keep showing up im using Win 11 - OBS Ver 3.0.0. I thought that it was a background process like the antivirus or any other app I even stopped Wind Defender and disabled the scan scheduling but even with that the issues persisted any idea or solution to this issue?
 
Top