Why not just use quicktime?
Edit: I think you might have skipped reading the post. It's about OBS on MacOS. Where quicktime exists. Your suggestion seems geared toward Linux.
QuickTime cannot record system audio output without shenanigans.
QuickTime cannot record system audio output without shenanigans.