electron / electron/electron

[Feature Request]: desktopCapturer.getSources returned the related pid, appName of windows

Open
#34,699 0 comments 1 reaction 0 assignees View on GitHub
component/desktopcapturer enhancement :sparkles:
Dominant language
C++
Stars
123k
Forks
17.5k
Avg merge
14h 22m
Merged PRs (30d)
873

Description

### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Problem Description

I want to category all windows by process name, now `DesktopCapturerSource` only has it's appIcon, no appName.

### Proposed Solution

returned the appName and pid info in `DesktopCapturerSource`.

### Alternatives Considered

exposed some api in the result.

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.