Hacker News new | ask | show | jobs
by saagarjha 1525 days ago
> Discord requires kernel extensions for screen sharing and requires the reduced security toggle as a result.

Are you sure? There are several userspace APIs to do this so a kext would be very concerning and, quite frankly, inappropriate for this usecase.

2 comments

It's an Electron limitation (because of course it is):

> [...] does not work on macOS for audio capture due to a fundamental limitation whereby apps that want to access the system's audio require a signed kernel extension. Chromium, and by extension Electron, does not provide this.

https://www.electronjs.org/docs/latest/api/desktop-capturer#...

How does Chrome on its own do it?
Discord only requires this for sharing audio along with screen sharing - I've shared my screen with the Discord app several times before without audio and I've never installed the kext.

And, at any rate, the kext they want you to install is the same one Rogue Amoeba uses for their well known and widely used app, Audio Hijack. Discord licenses it from them; they mention it in the dialogue that prompts you to install it.

This is another topic: "why you should learn to do a native app" :)