Files
electron/shell/common
George Xu 2c3a3db2e0 feat: pass preferredDisplaySurface through to display media handler
The setDisplayMediaRequestHandler now exposes the renderer's preferred
display surface type (monitor, window, browser, or none) from the
getDisplayMedia() constraints. This lets handler code make smarter
decisions about which source to offer without requiring the deprecated
desktopCapturer.getSources() call.

Notes: Added `preferredDisplaySurface` property to the request object in `session.setDisplayMediaRequestHandler`.
2026-05-01 12:42:28 -07:00
..