No description
Find a file
Artem Titov 4d6a76d781 Revert "Reland "PipeWire capturer: implement proper DMA-BUFs support"""
This reverts commit 677195d3eb.

Reason for revert: Broke WebRTC to Chrome rolls:
https://crrev.com/c/3141000
example: https://ci.chromium.org/ui/p/chromium/builders/try/linux-rel/790256/overview
The error is similar to the failure on previous attempt to land this CL. See: https://crrev.com/c/3135220, and crash https://ci.chromium.org/ui/p/chromium/builders/try/linux-rel/787945/overview

Original change's description:
> Reland "PipeWire capturer: implement proper DMA-BUFs support""
>
> This is a reland of f2177f6612
>
> Original change's description:
> > PipeWire capturer: implement proper DMA-BUFs support
> >
> > Currently both KWin (KDE) and Mutter (GNOME) window managers don't
> > use DMA-BUFs by default, but only when client asks specifically for
> > them (KWin) or when experimental DMA-BUF support is enabled (Mutter).
> > While current implementation works just fine on integrated graphics
> > cards, it causes issues on dedicated GPUs (AMD and NVidia) where the
> > code either crashes or screensharing is slow and unusable.
> >
> > To fix this, DMA-BUFs has to be opened using OpenGL context and not
> > being directly mmaped(). This implementation requires to use DMA-BUF
> > modifiers, as they are now mandatory for DMA-BUFs usage.
> >
> > Documentation for this behavior can be found here:
> > https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/doc/dma-buf.dox
> >
> > Bug: chromium:1233417, webrtc:13137
> > Change-Id: I0cecf16d6bb0f576954b9e8f071cab526f7baf2c
> > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/227022
> > Commit-Queue: Tommi <tommi@webrtc.org>
> > Reviewed-by: Tommi <tommi@webrtc.org>
> > Reviewed-by: Erik Språng <sprang@webrtc.org>
> > Cr-Commit-Position: refs/heads/main@{#34889}
>
> Bug: chromium:1233417, webrtc:13137
> Change-Id: I7d5763dd5db708cee20a31e559b26db0287f40d6
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/230946
> Reviewed-by: Tommi <tommi@webrtc.org>
> Commit-Queue: Tommi <tommi@webrtc.org>
> Cr-Commit-Position: refs/heads/main@{#34903}

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: chromium:1233417, webrtc:13137
Change-Id: I64e2ce864f69e6097aba65ade04af7166e407409
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/231135
Reviewed-by: Tommi <tommi@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#34915}
2021-09-03 11:28:26 +00:00
api Use implicit instead of explicit defaulted constructor for SendDataParams 2021-09-02 10:13:30 +00:00
audio Revert "Wire up non-sender RTT for audio, and implement related standardized stats." 2021-09-01 17:32:00 +00:00
build_overrides Roll chromium + fix: blacklist -> ignorelist for sanitizers suppressions 2021-05-27 16:16:01 +00:00
call Update WebRTC code version (2021-09-03T04:04:41). 2021-09-03 05:50:48 +00:00
common_audio Use backticks not vertical bars to denote variables in comments 2021-08-10 10:40:03 +00:00
common_video SimulcastEncoderAdapter: Use FramerateController instead of FramerateControllerDeprecated. 2021-08-30 10:20:55 +00:00
data Remove old data files. 2018-10-05 14:40:21 +00:00
docs Update Mac prerequisites 2021-08-23 19:52:17 +00:00
examples Delete BasicPacketSocketFactory default constructor 2021-09-03 10:46:29 +00:00
g3doc Use absl instead of self-made function for low-level bit counting 2021-08-26 08:56:37 +00:00
logging Use backticks not vertical bars to denote variables in comments 2021-08-10 10:40:03 +00:00
media Revert "Wire up non-sender RTT for audio, and implement related standardized stats." 2021-09-01 17:32:00 +00:00
modules Revert "Reland "PipeWire capturer: implement proper DMA-BUFs support""" 2021-09-03 11:28:26 +00:00
net/dcsctp dcsctp: Specify the max timer backoff duration 2021-09-03 10:26:50 +00:00
p2p Delete BasicPacketSocketFactory default constructor 2021-09-03 10:46:29 +00:00
pc Revert "Wire up non-sender RTT for audio, and implement related standardized stats." 2021-09-01 17:32:00 +00:00
resources Disable high-pass filtering of the AEC reference 2021-02-23 07:06:11 +00:00
rtc_base Rename VirtualSocketServer::SetDefaultRoute --> SetDefaultSourceAddress 2021-09-01 14:27:29 +00:00
rtc_tools Delete legacy rtp header parser as no longer used 2021-08-09 12:14:52 +00:00
sdk Refactor network_monitor_java out of peerconnection_java. 2021-09-02 17:15:46 +00:00
stats Revert "Wire up non-sender RTT for audio, and implement related standardized stats." 2021-09-01 17:32:00 +00:00
system_wrappers Use GTEST_SKIP() instead of early return. 2021-08-12 15:24:13 +00:00
test Reland "Enable WebRTC-Vp9DependencyDescriptor by default" 2021-09-01 09:27:39 +00:00
tools_webrtc Remove references to xstream from WebRTC codebase. 2021-09-02 08:51:14 +00:00
video frame transformer: expose payload type 2021-08-25 08:33:20 +00:00
.clang-format Add IncludeBlocks to clang-format. 2021-02-03 16:29:07 +00:00
.git-blame-ignore-revs Let git-hyper-blame ignore new format cleanup. 2019-07-11 16:18:51 +00:00
.gitignore Add .cache to .gitignore. 2021-01-20 15:01:07 +00:00
.gn Increase iOS deployment target from 10 to 12. 2021-07-02 17:02:27 +00:00
.vpython Update links to point at main branch 2021-07-22 16:41:26 +00:00
AUTHORS Fix _hRecThread,_hPlayThread RTC_DCHECK reverse bug. 2021-08-18 11:36:46 +00:00
BUILD.gn Allow export of Obj-C symbols without C++ ones. 2021-07-30 22:54:59 +00:00
CODE_OF_CONDUCT.md Reference "main" branches instead of "master" branches. 2021-07-15 11:07:44 +00:00
codereview.settings Don't add webrtc-reviews@ to CC, it can be added globally on Gerrit 2018-10-25 08:19:53 +00:00
DEPS Roll chromium_revision 58d05cfd21..48501b3f18 (917624:917742) 2021-09-02 18:38:08 +00:00
DIR_METADATA Move metadata in OWNERS files to DIR_METADATA files. 2021-02-08 19:09:33 +00:00
ENG_REVIEW_OWNERS Remove kwiberg@webrtc.org from OWNERS files 2020-12-04 15:11:26 +00:00
g3doc.lua Improve webrtc documentation infra. Preview at: 2021-03-30 10:29:30 +00:00
LICENSE Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
license_template.txt
native-api.md Reference "main" branches instead of "master" branches. 2021-07-15 11:07:44 +00:00
OWNERS Remove inactive owners. 2021-08-31 14:27:49 +00:00
PATENTS Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
PRESUBMIT.py fix some typos 2021-08-12 18:37:10 +00:00
presubmit_test.py Add presubmit check to guard against assert() usage. 2021-07-22 17:08:26 +00:00
presubmit_test_mocks.py Add presubmit check to guard against assert() usage. 2021-07-22 17:08:26 +00:00
pylintrc Undo enforcing of PEP-8 pylint changes for method and function names. 2020-11-10 18:26:25 +00:00
README.chromium Add CPEPrefix. 2020-07-13 11:42:07 +00:00
README.md doc: add g3doc sitemap to toplevel readme 2021-07-23 07:55:17 +00:00
WATCHLISTS Update WATCHLISTS 2021-08-23 13:37:55 +00:00
webrtc.gni Revert "Reland "PipeWire capturer: implement proper DMA-BUFs support""" 2021-09-03 11:28:26 +00:00
webrtc_lib_link_test.cc Deprecate PeerConnectionFactory::CreatePeerConnection 2021-05-10 08:47:48 +00:00
whitespace.txt Trigger bots 2021-09-02 10:34:30 +00:00

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.

Development

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.

More info