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.
- To disable screen sharing programmatically.
- Display custom (more prominent) indicator when screen sharing is active instead of the built-in indicator.
- 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
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.
These can be achieved in a couple ways:
PermissionRequestedevent could be fired for screen sharing as well.AB#39500477