feat(macOS): Capture audio on macOS using Tap API (#4209)

Co-authored-by: David Lane <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
Thomas Van Laere
2026-03-21 03:50:52 +01:00
committed by GitHub
parent a7ab814f74
commit 0d3be0bb1e
21 changed files with 1656 additions and 199 deletions

View File

@@ -464,9 +464,13 @@ systemctl --user --now enable app-dev.lizardbyte.app.Sunshine
### macOS
The first time you start Sunshine, you will be asked to grant access to screen recording and your microphone.
Sunshine can only access microphones on macOS due to system limitations. To stream system audio use
Sunshine supports native system audio capture on macOS 14.0 (Sonoma) and newer via Apples Audio Tap API.
To use it, simply leave the **Audio Sink** setting blank.
If you prefer to manage your own loopback device, you can still use
[Soundflower](https://github.com/mattingalls/Soundflower) or
[BlackHole](https://github.com/ExistentialAudio/BlackHole).
[BlackHole](https://github.com/ExistentialAudio/BlackHole)
and enter its device name in the [audio_sink](configuration.md#audio_sink) field.
> [!NOTE]
> Command Keys are not forwarded by Moonlight. Right Option-Key is mapped to CMD-Key.