commit | 025d69b4d0df05f54d7bfcb3a4a2b35b48b83d82 | [log] [tgz] |
---|---|---|
author | Jan Grulich <grulja@gmail.com> | Fri Jun 14 05:59:09 2024 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 14 07:19:05 2024 |
tree | dd0e1206963e6d5a1984375aa0b6dbcca41d47fa | |
parent | f13a0e9ec594d5dd7ef1d1287d84f8b9add8013b [diff] |
PipeWire video capture: mmap() PipeWire buffers with MAP_SHARED Some DMAbuf types don't properly implement MAP_PRIVATE as it requires copy-on-write support. As we don't need to write to these buffers, we can switch to MAP_SHARED instead, making it work reliably on current kernels without having any drawbacks in this context. Tested and confirmed with libcamera software ISP on Thinkpad X13 with an arm processor. Bug: webrtc:42225999 Change-Id: Ic47b8c90456cccf3742e8274945dbd64fb8aac6d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/354623 Commit-Queue: Jan Grulich <grulja@gmail.com> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42484}
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.