I'm trying to capture audio samples from the selected output device on macOS using ScreenCaptureKit? Thank you
If you are not capturing the screen and only capturing audio, it would be best to use a Core Audio tap than ScreenCaptureKit. Please see Capturing system audio with Core Audio taps for detailed information.