commit | 40c3ea5c7146cb7ec2fa999143d702b8825b725f | [log] [tgz] |
---|---|---|
author | Jan Grulich <grulja@gmail.com> | Wed Dec 02 08:02:52 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Dec 03 17:33:19 2020 |
tree | 3878dc2f6b559506915f43345ac74b81b2ad9eb0 | |
parent | ead570c963d99f639a90bc9e267997cddef1db38 [diff] |
Improve screen sharing with PipeWire on Wayland Changes: 1) Scoped class This is a special class for GLib based objects which we need to manually delete with different functions. Wrapping these objects into Scoped class will destroy them automatically when they go out of scope. 2) Window sharing support Unlike screen sharing, with window sharing we are required to obtain more information from the PipeWire stream, like video crop metadata, which we use to properly set size of our buffer. 3) Support for DmaBuf and MemFd buffer types As of now, we expected the PipeWire stream will provide only plain data which we just need to copy to our buffer. We now add support for new buffer types, which are often preferred for better effeciency. 4) Minor bugfixes: a) Additionally accept PipeWire streams using alpha channels (BGRA, RGBA) b) Add lock over PipeWire loop to prevent potential issues until we fully intialize everything we need c) When obtaining buffers, make sure we work with the latest one Bug: chromium:682122 Change-Id: I64638d5dcbe18e7280550dca0b01b17c511ac98a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/194100 Commit-Queue: Jamie Walch <jamiewalch@chromium.org> Reviewed-by: Jamie Walch <jamiewalch@chromium.org> Cr-Commit-Position: refs/heads/master@{#32763}
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.