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

Add ability to exclude specific windows from Screen Sharing on MacOS #567

Open
tomastiminskas opened this issue Jan 29, 2025 · 4 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@tomastiminskas
Copy link

Is your feature request related to a problem? Please describe.
I created an NSPanel that will stay always visible when navigating on my Mac desktop and apps while on a call. It includes Mic toggle, button, camera toggle, button, screen sharing button and end call button. It can be dragged and it's hidden when I get back to my app. I'm using includeCurrentApplication: true on screen sharing feature since the app where I implemented the Live Kit SDK has more than the call window and those might need to be shared with others. But I want to exclude the NSPanel from the captured content

Describe the solution you'd like
Having the ability to exclude any window. by windowId or any identifier would be great. Or at least allow to exclude the NSPanel or any window of your own application setting sharingType = .none which right now seems to have no effect at all

@tomastiminskas tomastiminskas added the enhancement New feature or request label Jan 29, 2025
@hiroshihorie
Copy link
Member

Thanks for the idea. I think it makes sense to add this to capture options.

@tomastiminskas
Copy link
Author

@hiroshihorie we have a platform that basically pay hunters (devs) in sats for a specific development task. We would like to post a bounty (task) and offer a payment for this feature to be done on your repo and raise a PR (since we need it for one of our apps). If you think it's a good idea or you want to know more about it, please send me your email or let me know how I can contact you privately so I can explain more in details. Thanks in advance

@hiroshihorie
Copy link
Member

Looks like excluding windows is harder than including windows.
How about excluding current app, but adding whatever window you want, will that work ?

@tomastiminskas
Copy link
Author

@hiroshihorie Yeah, that could be a workaround. If I understand well, I will be able to exclude current application and then add all the windows of my app but the one I want to exclude (the NSPanel)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants