commit | 4447d6b800c1af20955844f082e1cb29158a7790 | [log] [tgz] |
---|---|---|
author | Fanny Linderborg <linderborg@webrtc.org> | Mon Mar 31 14:15:48 2025 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 31 16:21:11 2025 |
tree | 2ca9b8664b1620ca3ff6757979b4b432e0223bc3 | |
parent | 060b93c9ac6a91dc549f3ca7e9c30dc9bac8d190 [diff] |
Protect queue in FrameInstrumentationGenerator with a mutex `OnCapturedFrame` and `OnEncodedImage` may be called from different threads, hence synchronization is needed. There have been reports of crashes caused by race condition: https://issues.chromium.org/issues/404925575 Bug: webrtc:358039777, chromium:404925575 Change-Id: I070b9b7309c28ab50de2268af55adbe26e559f6f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/383021 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Auto-Submit: Fanny Linderborg <linderborg@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Fanny Linderborg <linderborg@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/main@{#44268}
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.