commit | 84524e6b196153e35910111f61c36489ec2bd1d7 | [log] [tgz] |
---|---|---|
author | Jan Grulich <grulja@gmail.com> | Mon Oct 12 10:01:58 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Oct 13 10:39:32 2020 |
tree | 7172f114f27485d952cc619bd196aff3dda10042 | |
parent | 46129e98d33a4d97c7d24252b1e67e83844112fa [diff] |
Improve screen sharing with PipeWire on Wayland Currently, sharing a screen or a window on Wayland opens unnecessary preview dialog on Chromium side, which is then followed by a similar dialog on xdg-desktop-portal side. The Chromium dialog is useless on Wayland, as it doesn't show anything. This is because Chromium doesn't have access to screen content as in case of X11 session. To fix this, we want to avoid showing the preview dialog in case we find that we run on Wayland and only pick a screen or a window from the dialog that comes from xdg-desktop-portal. This patch splits BaseCapturerPipeWire class, moving portal related code into XdgPortalBase, which does all the DBus communication and which is supposed to be reused by BaseCapturerPipeWire when the user confirms the dialog from xdg-desktop-portal. The XdgPortalBase is extended to support multiple calls at once, where each call is identified by Id. Relevant change on Chromium side will be in a different review. Bug: chromium:682122 Change-Id: I2bcd07d16a5eb3b902db63ea9a164c5bd39c23a0 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/187492 Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Tommi <tommi@webrtc.org> Commit-Queue: Tommi <tommi@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32388}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.