Skip to content

feat: enable screen capture via setDisplayMediaRequestHandler#163

Open
theazad23 wants to merge 1 commit intostoatchat:mainfrom
theazad23:screen-sharing
Open

feat: enable screen capture via setDisplayMediaRequestHandler#163
theazad23 wants to merge 1 commit intostoatchat:mainfrom
theazad23:screen-sharing

Conversation

@theazad23
Copy link
Copy Markdown

@theazad23 theazad23 commented Feb 26, 2026

Enables screen capture support across platforms using Electron's setDisplayMediaRequestHandler.

On Linux, uses desktopCapturer to manually enumerate sources, as useSystemPicker is unreliable on that platform. On Windows and macOS, delegates to the OS native picker via useSystemPicker: true.

Note:
I am using this branch for web stoatchat/for-web#847 in order for video to be enabled.

Signed-off-by: Anthony Zadel <theazad23@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant