-
Notifications
You must be signed in to change notification settings - Fork 367
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
Sharing a specific window / area #37
Comments
technically that is not implemented in chromium but in chromes 'chrome app' libraries, I opened an issue requesting support for it in electron a while back electron/electron#1380 |
Recently got merged into Electron (screen/window) electron/electron#2963 |
OH NICE FINALLY!!! |
Docs for it are here: https://github.com/atom/electron/blob/9c861b9ad37a9c6335dde2e59d3005742fe75150/docs/api/desktop-capturer.md This will let us implement a UI that asks the user what part of the screen they want to share. Currently we only share the entire screen. Being able to select only 1 screen would be pretty sweet :) |
got it working in 9e93952 heres the UI I hacked up: because of the way it changes screen sharing, audio chat is currently not hooked up. I'll need to hook that up again with more code feedback welcome! |
LGTM |
Can anyone please answer this question: electron/electron#4432 |
Sharing a specific window or an area would be a nice capability - chromium has it as a functionality, as it uses it for chromecasting.
By initial research, I assume this happens by setting chromeMediaSource to "desktop" and chromeMediaSourceId to a value returned by chooseDesktopMedia - https://developer.chrome.com/extensions/desktopCapture.
The text was updated successfully, but these errors were encountered: