No description
Find a file
Jan Grulich a18e38fed2 Video capture PipeWire: drop corrupted PipeWire buffers
Use SPA_CHUNK_FLAG_CORRUPTED and SPA_META_HEADER_FLAG_CORRUPTED flags to
determine corrupted buffers or corrupted buffer data. We used to only
rely on compositors setting chunk->size, but this doesn't make sense for
dmabufs where they have to make up arbitrary values. It also looks this
is not reliable and can cause glitches as we end up processing corrupted buffers.

(cherry picked from commit cfbd6b0884)

Bug: chromium:341928670
Change-Id: Ida0c6a5e7a37e19598c6d5884726200f81b94962
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/349881
Commit-Queue: Mark Foltz <mfoltz@chromium.org>
Reviewed-by: Mark Foltz <mfoltz@chromium.org>
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Cr-Original-Commit-Position: refs/heads/main@{#42292}
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/351563
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/branch-heads/6478@{#1}
Cr-Branched-From: 16fb7903e546051483720548168cd40cded7a040-refs/heads/main@{#42290}
2024-05-23 21:01:17 +00:00
api Revert "Provide Environment to construct VideoBitrateAllocator" 2024-05-13 13:32:28 +00:00
audio Make muted param in GetAudio optional. 2024-05-06 18:07:34 +00:00
build_overrides WebRTC perfetto chromium integration 2024-04-29 12:12:48 +00:00
call Update WebRTC code version (2024-05-13T04:02:33). 2024-05-13 05:08:27 +00:00
common_audio Update AudioFrameOperations to require ArrayView 2024-04-30 21:26:56 +00:00
common_video Remove wrong range check for CurrRpsIdx and fix its naming. 2024-04-19 13:56:24 +00:00
data Remove old data files. 2018-10-05 14:40:21 +00:00
docs Add Monorail -> Google Issue Tracker map. 2024-04-29 19:08:57 +00:00
examples Migrate webrtc to stop using its own JniZero mirror classes 2024-04-23 12:50:19 +00:00
experiments Delete expired field trial WebRTC-SignalNetworkPreferenceChange 2024-05-11 09:50:40 +00:00
g3doc Recommend to follow C++ tips of the week in webrtc c++ style guide 2024-04-17 14:08:57 +00:00
infra Revert "Temporary disable sharding on Fuchsia bots." 2024-05-13 08:53:13 +00:00
logging Return absl::optional<size_t> from FileWrapper::FileSize() 2024-05-02 10:40:38 +00:00
media Revert "Provide Environment to construct VideoBitrateAllocator" 2024-05-13 13:32:28 +00:00
modules Video capture PipeWire: drop corrupted PipeWire buffers 2024-05-23 21:01:17 +00:00
net/dcsctp Introduce a mode that lets NetworkEmulationManager ignore DTLS handshake sizes. 2024-05-08 13:20:20 +00:00
p2p Revert "Split digest methods from ssl target into digest target" 2024-05-08 06:42:32 +00:00
pc Include-what-you-use pc/media_session 2024-05-08 15:07:53 +00:00
resources Ignore .binarypb files. 2023-10-30 14:56:36 +00:00
rtc_base Delete expired field trial WebRTC-SignalNetworkPreferenceChange 2024-05-11 09:50:40 +00:00
rtc_tools Revert "Provide Environment to construct VideoBitrateAllocator" 2024-05-13 13:32:28 +00:00
sdk Fix NetworkMonitor race condition when dispatching native observers 2024-05-08 08:27:19 +00:00
stats [Stats] Migrate from the RTCStatsMember type alias to absl::optional. 2024-01-25 21:56:08 +00:00
system_wrappers Cleanup expired field trial WebRTC-Avx2SupportKillSwitch 2024-05-06 14:33:21 +00:00
test Revert "Provide Environment to construct VideoBitrateAllocator" 2024-05-13 13:32:28 +00:00
tools_webrtc Introduce GCS dependencies support in DEPS autoroller 2024-05-03 11:04:14 +00:00
video Revert "Provide Environment to construct VideoBitrateAllocator" 2024-05-13 13:32:28 +00:00
.clang-format Add IncludeBlocks to clang-format. 2021-02-03 16:29:07 +00:00
.git-blame-ignore-revs Add formatting CLs to .git-blame-ignore-revs 2023-05-07 09:27:47 +00:00
.gitignore Add .cache to .gitignore. 2021-01-20 15:01:07 +00:00
.gn Use vpython3 as the default interpreter for gn. 2024-04-09 14:14:16 +00:00
.mailmap Add .mailmap for git. 2022-02-20 14:22:13 +00:00
.style.yapf Configure YAPF to follow PEP-8 altogether 2023-09-22 10:32:11 +00:00
.vpython3 Update to vpython 3.11 and remove .vpython (v2.x) 2024-01-25 11:12:20 +00:00
AUTHORS Fix 'Screen flickering on ScreenCapturerWinDirectx' 2024-04-25 21:18:27 +00:00
BUILD.gn Convert decoder TRACE_EVENT to flows 2024-04-30 08:47:29 +00:00
CODE_OF_CONDUCT.md Reland "Migrate WebRTC documentation to new renderer" 2023-01-31 09:30:04 +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 19260a1dc2..dc3597a14f (1299861:1299980) 2024-05-13 12:39:12 +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 phoglund from ENG_REVIEW_OWNERS 2021-10-08 08:29:42 +00:00
LICENSE Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
license_template.txt
native-api.md Reland "Migrate WebRTC documentation to new renderer" 2023-01-31 09:30:04 +00:00
OWNERS Add infra owners file 2022-12-02 09:21:47 +00:00
OWNERS_INFRA Allow to keep old python style for existing files. 2023-10-17 13:52:56 +00:00
PATENTS Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
PRESUBMIT.py Roll chromium_revision 5350dd2460..d5c79b109a (1281218:1283550) 2024-04-08 08:12:19 +00:00
presubmit_test.py tools_webrtc dir converted to py3 + top level PRESUBMIT script 2022-02-08 14:42:26 +00:00
presubmit_test_mocks.py tools_webrtc dir converted to py3 + top level PRESUBMIT script 2022-02-08 14:42:26 +00:00
pylintrc Configure Pylint to follow PEP-8 2023-09-25 15:56:09 +00:00
pylintrc_old_style Allow to keep old python style for existing files. 2023-10-17 13:52:56 +00:00
README.chromium [ssci] Added Shipped field to READMEs 2023-07-12 07:31:06 +00:00
README.md doc: Follow up link rename in I2dbe1ef0c74a0de8c5619b522fab39527e797d9c 2023-05-26 09:20:16 +00:00
WATCHLISTS Remove xooglers from WATCHLISTS and OWNERS 2022-11-30 15:33:25 +00:00
webrtc.gni Always use Perfetto when build_with_chromium 2024-05-02 14:03:06 +00:00
webrtc_lib_link_test.cc Move webrtc::AudioDeviceModule include to api/ folder 2024-04-22 08:56:31 +00:00
whitespace.txt Reland "lets try again" 2024-04-26 09:56:00 +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