commit | 3b819f3d8bbeb72eb0aa2532564fec2f404284c8 | [log] [tgz] |
---|---|---|
author | Niels Möller <nisse@webrtc.org> | Thu Oct 10 10:42:41 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Oct 11 07:56:52 2019 |
tree | be7bc09961fbd6590196bd49028b415938d3aba3 | |
parent | 7c3b10013ca771df5a9a9a11733c044a9ebe4826 [diff] |
Move video_sources_.clear() call to CallTest::DestroyStreams When one of the sources is a FrameGeneratorCapturer, this implies that its TaskQueue is stopped. Before this change, the FrameGeneratorCapturer was destroyed later, by the CallTest destructor, which led to a use-after-free race on the Clock object passed to the capturer. Bug: webrtc:11018 Change-Id: I3e53f95a725b6fb53b13e182ecd2caf03ea15bc4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/156170 Reviewed-by: Philip Eliasson <philipel@webrtc.org> Reviewed-by: Yves Gerey <yvesg@google.com> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Sebastian Jansson <srte@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29443}
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 http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.