webrtc/modules/portal
Jan Grulich 334e9133dc Video capture PipeWire: add support for DMABuf buffer type
Announce that we support SPA_DATA_DmaBuf and tell PipeWire not to map
memory for us so we can handle it ourself, similar like we do in case of
screen sharing. This fixes an issue when a camera is already in use by
gstreamer (pipewiresrc), where DMABufs are used, and we try to share
same camera and get no content, as PipeWire doesn't want to mmap DMABuf
memory for us and we get NULL data pointers.

Firefox bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1876895

Bug: webrtc:15654
Change-Id: I788d8d12b2fcd5588329d7265e45b479f74bb628
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/338921
Commit-Queue: Jan Grulich <grulja@gmail.com>
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Reviewed-by: Per Kjellander <perkj@webrtc.org>
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Cr-Commit-Position: refs/heads/main@{#41826}
2024-02-27 18:31:26 +00:00
..
BUILD.gn Remove all usage of //rtc_base target 2023-01-16 14:36:06 +00:00
OWNERS Reland "Split out generic portal / pipewire code" 2022-11-14 20:11:43 +00:00
pipewire.sigs Add pipewire/portal video capture support 2023-02-02 17:20:04 +00:00
pipewire_stub_header.fragment Reland "Split out generic portal / pipewire code" 2022-11-14 20:11:43 +00:00
pipewire_utils.cc Reland "Split out generic portal / pipewire code" 2022-11-14 20:11:43 +00:00
pipewire_utils.h Video capture PipeWire: add support for DMABuf buffer type 2024-02-27 18:31:26 +00:00
portal_request_response.h Reland "Split out generic portal / pipewire code" 2022-11-14 20:11:43 +00:00
scoped_glib.cc Add RTC_EXPORT to symbols imported by CRD 2023-01-10 19:50:15 +00:00
scoped_glib.h Add RTC_EXPORT to symbols imported by CRD 2023-01-10 19:50:15 +00:00
xdg_desktop_portal_utils.cc Reland "Split out generic portal / pipewire code" 2022-11-14 20:11:43 +00:00
xdg_desktop_portal_utils.h Add RTC_EXPORT to symbols imported by CRD 2023-01-10 19:50:15 +00:00
xdg_session_details.h Reland "Split out generic portal / pipewire code" 2022-11-14 20:11:43 +00:00