LizardByte / LizardByte/Sunshine

What service/daemon should be added to Microphone Permissions on MacOS?

Open
#2,976 1 comment 0 reactions 1 assignee View on GitHub

@Hazer is already working on this.

Since Aug 7, 2024.

Dominant language
C++
Stars
41.3k
Forks
2.1k
Avg merge
23h 47m
Merged PRs (30d)
124

Description

### Is there an existing issue for this?

- [ ] I have searched the existing issues

### Is your issue described in the documentation?

- [ ] I have read the documentation

### Is your issue present in the latest beta/pre-release?

None

### Describe the Bug

Adding daemondo to the screen recording and input monitoring to the security permissions of MacOS gets the stream up and running with input working. Audio using BlackHole 2ch does not seem to work though.

When running sunshine from a terminal - the terminal gets added to the permissions for the microphone, screen recording and input monitoring which allows for audio to work.

Running sunshine via plist on the other hand, daemondo needed to be added manually to those permissions. Although I suspect it's something else that needed to the microphone permissions other than daemondo perhaps? As audio fails.

### Expected Behavior

Audio to work when lauching sunshine via plist at startup instead of via terminal.

### Additional Context

_No response_

### Host Operating System

macOS

### Operating System Version

Sonoma

### Architecture

64 bit

### Sunshine commit or version

v2024.804.224028

### Package

macOS - Portfile

### GPU Type

n/a

### GPU Model

M1

### GPU Driver/Mesa Version

-

### Capture Method

AVCaptureScreen (macOS)

### Config

```Shell
audio_sink = BlackHole 2ch
fps = [30,60,120,144]
resolutions = [
1920x1080,
2560x1080,
3440x1440,
1920x1200,
3840x2160,
3840x1600,
2388x1668
]
```

### Apps

_No response_

### Relevant log output

```shell
[2024:08:07:11:44:17]: Warning: audio_control_t::set_sink() unimplemented: BlackHole 2ch
[2024:08:07:11:44:17]: Error: Failed to setup microphone.
[2024:08:07:11:44:17]: Error: Unable to initialize audio capture. The stream will not have audio.
```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.