MicrosoftEdge / MicrosoftEdge/WebView2Feedback

Feature request: API for screen sharing

Open
#2,442 13 comments 2 reactions 2 assignees View on GitHub

@Lakshmisha-KS is already working on this.

Since Feb 12, 2025.

feature request tracked
Dominant language
PowerShell
Stars
526
Forks
67
PR merge metrics
No merged PRs in 30d

Description

There's currently no way to manage screen sharing as WebView2 manages everything itself. This presents a few security issues, so we'd like to be able.

  1. To disable screen sharing programmatically.
  2. Display custom (more prominent) indicator when screen sharing is active instead of the built-in indicator.
  3. Pause/Stop any active screen sharing session programmatically.

These can be achieved in a couple ways:

  • For 1. a new API call could be added to disable screen sharing or PermissionRequested event could be fired for screen sharing as well.
  • For 2. a new event could be added which indicates which screen / window / tab is being shared.
  • For 3. new API calls could be added.

AB#39500477

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.