In last 33.5 yrs, I don't recall anyone asking this question. IF anything, Streaming working ok, but not having enough Disk I/O for Recording can happen... but Recording fine and Streaming not?? new one for me
Follow directions in pinned post in this forum regarding posting OBS Studio log from a Recording/Streaming session (more than a few seconds)
Does OBS Studio's Audio Level indicators move in the same manner for both Recording and Streaming?
What else are you changing, other than Recording vs Streaming?
if nothing, I'm assuming you aren't following the Streaming platforms requirements for the stream (ex a custom Recording/Stream setting on audio bitrate that exceeds streaming platforms' allowable audio bitrate range??)