Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppport ScreenCaptureKit loopback #876

Open
thewh1teagle opened this issue Apr 16, 2024 · 5 comments
Open

Suppport ScreenCaptureKit loopback #876

thewh1teagle opened this issue Apr 16, 2024 · 5 comments

Comments

@thewh1teagle
Copy link

thewh1teagle commented Apr 16, 2024

In recent versions of macOS there's new API called screen capture kit which provides a way to capture the screen content (Audio / Video),
That way we can receive audio from the speakers, similar how cpal does that with WSAPI on Windows (Added in #251)
As starting point we can follow the approach used in the project scap in engine/mac/mod.rs they capture audio / video using screen capture kit

@LatentDream
Copy link

+1

@rustdesk
Copy link

+1

@Kree0
Copy link

Kree0 commented Jul 1, 2024

Hello, I'm interested in this issue. But it seems that ScreenCaptureKit works differently. ScreenCaptureKit capture audio through Display/Windows/Application instead of the Device, I don't know how to make it fit the crate.

@rustdesk
Copy link

rustdesk commented Jul 1, 2024

Maybe, you can add a virtual device called loopback, which use screencapturekit, the others keep no change

@louis030195
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants