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

macOS support #5

Open
LoganDark opened this issue Aug 19, 2020 · 4 comments
Open

macOS support #5

LoganDark opened this issue Aug 19, 2020 · 4 comments

Comments

@LoganDark
Copy link

No description provided.

@bryal
Copy link
Owner

bryal commented Aug 19, 2020

Sure, macOS support would definitely be in scope of this crate! Nothing I myself can do about it though, as I've neither ever coded on Mac nor even own one! If someone on macOS would like to help out, I'd gladly accept any PRs!

@LoganDark
Copy link
Author

LoganDark commented Aug 19, 2020

I'm on macOS, I just have no idea how to screen capture on there... I'm currently caught up in something else so I can't do the research right at this moment, but maybe you can see if you can find anything?

@rollcat
Copy link

rollcat commented Jan 3, 2021

Screen capture on macOS seems to be a part of the AVFoundation framework:

https://developer.apple.com/documentation/avfoundation/cameras_and_media_capture
https://developer.apple.com/documentation/avfoundation/avcapturescreeninput

Seems like there's a very WIP binding for AVFoundation in Rust here: https://crates.io/crates/avfoundation
...but it doesn't seem to have any support for media capture yet.

Perhaps it would be viable to interface with the native ObjC APIs directly, eg via RustKit?

@alectrocute
Copy link

Nowadays, it'd be best to integrate ScreenCaptureKit: https://developer.apple.com/documentation/screencapturekit

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

4 participants