1. One of your audio devices has a sample rate that doesn't match the rest. This can result in audio drift over time or sound distortion. Check your audio devices in Windows settings (both Playback and Recording) and ensure the Default Format (under Advanced) is consistent. 48000 Hz is recommended.
OBS Sample Rate: 48000 Hz
C22F390 (Intel(R) Display Audio): 48000 Hz
Digital Audio Interface (USB3.0 Capture): 96000 Hz
2. Audio buffering hit the maximum value. This is an indicator of very high system load, will affect stream latency, and may even cause individual audio sources to stop working. Keep an eye on CPU usage especially, and close background programs if needed. Occasionally, this can be caused by incorrect device timestamps. Restart OBS to reset buffering.
Source affected (potential cause): Desktop Audio
3. Record to MKV. If you record to MP4 or MOV and the recording is interrupted, the file will be corrupted and unrecoverable. If you require MP4 files for some other purpose like editing, remux them afterwards by selecting File > Remux Recordings in the main OBS Studio window. You can upload MKVs directly to YouTube.
4. Keep your Video Capture Device at 30 FPS but enable Buffering and Use hardware decoding...
5. Change the encoder from x264 to QSV/Quick Sync Video. You may need to use an older version of OBS such as 27 or 28.
If still having issues, post new log.