commit | 52fec7d3e9c8503d5c7455398784a874a1fed90f | [log] [tgz] |
---|---|---|
author | Jan Grulich <grulja@gmail.com> | Sun Feb 11 10:26:01 2024 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun Feb 11 10:53:29 2024 |
tree | 92ae598a35c1498c56221bbff0103f6127ad5095 | |
parent | 541f202354e2b4906935c8db6e54386aa8bc8d1f [diff] |
Video capture V4L2: fix wrong usage of capture race checker This RaceChecker is intended to be used on API thread only when we are not capturing, however, since StartCapture() can be called while already capturing, we have to avoid using it to guard members that do not meet this expectations. Use API checker for _captureStarted instead and move the capture race checker down where we can be sure that capturing is not happening. Bug: webrtc:15181 Change-Id: I52f74b893f2c36c3ce0facd053b003fa497101b0 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/338040 Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Commit-Queue: Jan Grulich <grulja@gmail.com> Cr-Commit-Position: refs/heads/main@{#41714}
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.