commit | 23b08eb531aef7d2c69512622c46cf2dab965207 | [log] [tgz] |
---|---|---|
author | magjed <magjed@webrtc.org> | Tue Apr 05 08:37:04 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Apr 05 08:37:08 2016 |
tree | 562e19f67fb6234eae90b90d00a15ed90d0446eb | |
parent | 844dd2ad4bf7ecd6353a69a50105ea7c473f01f9 [diff] |
Android VideoCapture: Add null checks in stopCaptureOnCameraThread If stopCapture is called shortly after startCapture, and the first startCaptureOnCameraThread failed, but still hasn't retried 3 times, stopCaptureOnCameraThread will be called in a state where the camera is not initialized. This CL adds null checks in stopCaptureOnCameraThread to avoid crashes. BUG=b/27939867 Review URL: https://codereview.webrtc.org/1854103002 Cr-Commit-Position: refs/heads/master@{#12234}
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.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.