I'm currently recording the macOS screen with AVCaptureSession
I'm adding 2 inputs
AVCaptureScreenInput()
AVCaptureDeviceInput(AVCaptureDevice.default(for: AVMediaType.audio))
This records the audio from my mic I instead want to record the audio from the computer
e.g if I'm recording the screen playing a yotube video I want the audio from the speakers not just the video