gecko-dev/media/webrtc/trunk
Dan Minor 7c3097eb13 Bug 1565800 - Use local copy of _captureCapability in OnIncomingFrame; r=jolin
In OnIncomingFrame() we check if the capture has started by calling
CaptureStarted() which holds a lock. If StopCapture() is called on the
control thread after we check CaptureStarted() it is possible that
_captureCapability will be zeroed out prior to frame being delivered because
the lock has been released. This would result in an unknown video type in
CalcBufferSize() and trigger an assertion there. This creates a local copy of
_captureCapability with the lock held to ensure it is not zeroed out when the
frame is delivered.

Differential Revision: https://phabricator.services.mozilla.com/D42338

--HG--
extra : moz-landing-system : lando
2019-08-21 15:52:31 +00:00
..
build/internal Bug 1376873 - Build system fixes; r=ng 2018-01-22 12:47:24 -05:00
chromium_deps
google_apis/build
gtest Bug 1528074 - Remove MSVC warning flags that clang-cl doesn't understand r=chmanchester 2019-03-13 20:19:08 +00:00
net Bug 1371485 - Remove unnecessary gyp files from webrtc; r=chmanchester 2018-06-22 14:57:17 -04:00
third_party/gflags Bug 1371485 - Fix gflags root; r=chmanchester 2018-06-22 14:25:31 -04:00
tools/clang Bug 1371485 - Remove webrtc copy of gyp; r=chmanchester 2018-06-21 14:42:08 -04:00
webrtc Bug 1565800 - Use local copy of _captureCapability in OnIncomingFrame; r=jolin 2019-08-21 15:52:31 +00:00
AUTHORS
DEPS
LICENSE Bug 813063 - Add LICENSE file to root of WebRTC.org source r=dminor 2019-01-08 04:17:07 +00:00
Makefile.old
OWNERS
README.md
dummy_file.txt
peerconnection.Makefile
peerconnection_client.target.mk

README.md

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. This page is maintained by the Google Chrome team.

Development

See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.

More info